diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-03 20:34:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-03 21:08:57 +0100 |
commit | 4f3656e1cec7fe3d7d3537e23a406cb88d734502 (patch) | |
tree | 63164a57d40c2dbebd8a37c49f5c453a7d1ef93e /src/readahead/sd-readahead.h | |
parent | 4cfc6dbe52e4ff867750ce0d64f09d42c0ea6c27 (diff) |
readahead: bring export definition of sd-readahead in line with sd-daemon
Diffstat (limited to 'src/readahead/sd-readahead.h')
-rw-r--r-- | src/readahead/sd-readahead.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/readahead/sd-readahead.h b/src/readahead/sd-readahead.h index 5bf975a741..ee7e30606e 100644 --- a/src/readahead/sd-readahead.h +++ b/src/readahead/sd-readahead.h @@ -56,14 +56,6 @@ extern "C" { See sd-readahead(7) for more information. */ -#ifndef _sd_hidden_ -#if (__GNUC__ >= 4) && !defined(SD_EXPORT_SYMBOLS) -#define _sd_hidden_ __attribute__ ((visibility("hidden"))) -#else -#define _sd_hidden_ -#endif -#endif - /* Controls ongoing disk read-ahead operations during boot-up. The argument must be a string, and either "cancel", "done" or "noreplay". @@ -72,7 +64,7 @@ extern "C" { done = terminate read-ahead data collection, keep collected information noreplay = terminate read-ahead replay */ -int sd_readahead(const char *action) _sd_hidden_; +int sd_readahead(const char *action); #ifdef __cplusplus } |