lintian doesn't like orphan packages with uploaders...
[debian/amanda] / common-src / arglist.h
index e18b4a79e5fb485096d33f0b6db03f5d98e53fee..7628f6816e5b3eb0fa1b578e41aa935cbb463d25 100644 (file)
@@ -1,6 +1,7 @@
 /*
  * Amanda, The Advanced Maryland Automatic Network Disk Archiver
  * Copyright (c) 1991-1998 University of Maryland at College Park
+ * Copyright (c) 2007-2012 Zmanda, Inc.  All Rights Reserved.
  * All Rights Reserved.
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
 
 #define printf_arglist_function(fdecl, \
                                hook_type, hook_name) \
-       __attribute__ ((format (printf, 1, 0))) \
+        G_GNUC_PRINTF(1,0) \
         fdecl(hook_type hook_name, ...)
 
 #define printf_arglist_function1(fdecl, \
                                 arg1_type, arg1_name, \
                                 hook_type, hook_name) \
-       __attribute__ ((format (printf, 2, 0))) \
+        G_GNUC_PRINTF(2,0) \
        fdecl(arg1_type arg1_name, \
              hook_type hook_name, ...)
 
@@ -52,7 +53,7 @@
                                 arg1_type, arg1_name, \
                                 arg2_type, arg2_name, \
                                 hook_type, hook_name) \
-       __attribute__ ((format (printf, 3, 0))) \
+        G_GNUC_PRINTF(3,0) \
        fdecl(arg1_type arg1_name, \
              arg2_type arg2_name, \
              hook_type hook_name, ...)
@@ -62,8 +63,8 @@
                                 arg2_type, arg2_name, \
                                 arg3_type, arg3_name, \
                                 hook_type, hook_name) \
-       __attribute__ ((format (printf, 4, 0))) \
-       fdecl(arg1_type arg1_name, \
+        G_GNUC_PRINTF(4,0) \
+        fdecl(arg1_type arg1_name, \
              arg2_type arg2_name, \
              arg3_type arg3_name, \
              hook_type hook_name, ...)