X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Freadahead%2Fsd-readahead.h;h=ee7e30606e56bedb14a9da9f88b6c6d4ccc587ff;hb=4f3656e1cec7fe3d7d3537e23a406cb88d734502;hp=5bf975a741c1b4840ef4a3de0903256fe68cc5d6;hpb=e5e83e8362e946890ac991fc86a2c5869f9befdf;p=elogind.git diff --git a/src/readahead/sd-readahead.h b/src/readahead/sd-readahead.h index 5bf975a74..ee7e30606 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 }