X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fdump.h;h=925270d9ccbf63d5d8e75c20eaf4ab886ae3ba87;hb=f125b6d341b06fda5412b82d23e486100e107eaa;hp=44f2082b7c40ff868948d72909300caf379f549b;hpb=55f7912ddaea7c21068a48841a6eb933e5f286ee;p=oweals%2Fbusybox.git diff --git a/include/dump.h b/include/dump.h index 44f2082b7..925270d9c 100644 --- a/include/dump.h +++ b/include/dump.h @@ -1,8 +1,6 @@ /* vi: set sw=4 ts=4: */ -#if __GNUC_PREREQ(4,1) -# pragma GCC visibility push(hidden) -#endif +PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN #define F_IGNORE 0x01 /* %_A */ #define F_SETREP 0x02 /* rep count set, not default */ @@ -55,6 +53,4 @@ dumper_t* alloc_dumper(void) FAST_FUNC; extern void bb_dump_add(dumper_t *dumper, const char *fmt) FAST_FUNC; extern int bb_dump_dump(dumper_t *dumper, char **argv) FAST_FUNC; -#if __GNUC_PREREQ(4,1) -# pragma GCC visibility pop -#endif +POP_SAVED_FUNCTION_VISIBILITY