test-xvasprintf: disable some -Wformat-security diagnostics
[gnulib.git] / lib / file-set.h
index a5a159e..4e47d95 100644 (file)
@@ -5,8 +5,11 @@
 #include "hash.h"
 
 extern void record_file (Hash_table *ht, char const *file,
-                        struct stat const *stats)
-  __attribute__((nonnull(2, 3)));
+                         struct stat const *stats)
+#if defined __GNUC__ && ((__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3)
+  __attribute__ ((nonnull (2, 3)))
+#endif
+;
 
 extern bool seen_file (Hash_table const *ht, char const *file,
-                      struct stat const *stats);
+                       struct stat const *stats);