]> granicus.if.org Git - check/commitdiff
* use int __attribute__((unused)) _i instead of
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 8 Feb 2008 14:09:41 +0000 (14:09 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Fri, 8 Feb 2008 14:09:41 +0000 (14:09 +0000)
      int _i __attribute__((unused))
  per gcc-3.3.5 request from Sebastian Trahm

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@419 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.h.in

index c7dcb79bd536984e194a22a250c4a117ab1b72a9..420f5fcd1a5e5acb8dcbd0f7a6b4f099cf168efb 100644 (file)
@@ -183,7 +183,7 @@ void CK_EXPORT tcase_fn_start (const char *fname, const char *file, int line);
    One must use braces within a START_/END_ pair to declare new variables
 */ 
 #define START_TEST(__testname)\
-static void __testname (int _i __attribute__((unused)))\
+static void __testname (int __attribute__((unused)) _i)\
 {\
   tcase_fn_start (""# __testname, __FILE__, __LINE__);