tar: support -T - and -X -
[oweals/busybox.git] / e2fsprogs / e2fs_lib.h
index 40bbd1c838a9d716eb6542c6236b5116b388ebcb..3905ee71dc883e7fb22ea9a7fde1ceb44938ea0e 100644 (file)
@@ -9,13 +9,11 @@
 /* Constants and structures */
 #include "e2fs_defs.h"
 
-#if __GNUC_PREREQ(4,1)
-# pragma GCC visibility push(hidden)
-#endif
+PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
 
 /* Iterate a function on each entry of a directory */
 int iterate_on_dir(const char *dir_name,
-               int (*func)(const char *, struct dirent *, void *),
+               int FAST_FUNC (*func)(const char *, struct dirent *, void *),
                void *private);
 
 /* Get/set a file version on an ext2 file system */
@@ -31,7 +29,7 @@ int fgetsetflags(const char *name, unsigned long *get_flags, unsigned long set_f
 /* Must be 1 for compatibility with `int long_format'. */
 #define PFOPT_LONG  1
 /* Print file attributes on an ext2 file system */
-void print_flags(FILE *f, unsigned long flags, unsigned options);
+void print_e2flags(FILE *f, unsigned long flags, unsigned options);
 
 extern const uint32_t e2attr_flags_value[];
 extern const char e2attr_flags_sname[];
@@ -46,6 +44,4 @@ extern const char e2attr_flags_sname[];
 #define e2attr_flags_sname_chattr (&e2attr_flags_sname[1])
 #endif
 
-#if __GNUC_PREREQ(4,1)
-# pragma GCC visibility pop
-#endif
+POP_SAVED_FUNCTION_VISIBILITY