]> git.tuebingen.mpg.de Git - adu.git/blobdiff - gcc-compat.h
Merge commit 'meins/master'
[adu.git] / gcc-compat.h
index 61c3c88d1c4551a965aaa22c626ddf8fabec31ba..df80001c941142ecb609a68d0a8fc8b66615f7b9 100644 (file)
@@ -1,17 +1,23 @@
+/*
+ * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
+
 # define inline                inline __attribute__ ((always_inline))
 # define __noreturn    __attribute__ ((noreturn))
 # define __malloc      __attribute__ ((malloc))
 # define __a_unused    __attribute__ ((unused))
 # define likely(x)     __builtin_expect (!!(x), 1)
 # define unlikely(x)   __builtin_expect (!!(x), 0)
-/* 
- * p is the number of the "format string" parameter, and q is 
- * the number of the first variadic parameter 
+/*
+ * p is the number of the "format string" parameter, and q is
+ * the number of the first variadic parameter
  */
 # define __printf(p,q) __attribute__ ((format (printf, p, q)))
 /*
  * as direct use of __printf(p,q) confuses doxygen, here are two extra macros
- * for those values p,q that are actually used by paraslash.
+ * for those values p,q that are actually used.
  */
 #define  __printf_1_2 __printf(1,2)
 #define  __printf_2_3 __printf(2,3)