Update docs/tcp.txt
[oweals/busybox.git] / include / dump.h
index 44f2082b7c40ff868948d72909300caf379f549b..4c237ef05fd3fa22cb16c07b6fce3c925b86265a 100644 (file)
@@ -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 */
@@ -47,7 +45,7 @@ typedef struct FS {                   /* format strings */
 typedef struct dumper_t {
        off_t dump_skip;                /* bytes to skip */
        int dump_length;                /* max bytes to read */
-       smallint dump_vflag; /*enum dump_vflag_t*/
+       smallint dump_vflag;            /*enum dump_vflag_t*/
        FS *fshead;
 } dumper_t;
 
@@ -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