Author: infinoid
Date: Fri Jan  2 22:13:47 2009
New Revision: 34856

Modified:
   branches/assert_args/include/parrot/longopt.h
   branches/assert_args/src/longopt.c

Log:
[headerizer] Apply changes from previous headerizer fix.

Modified: branches/assert_args/include/parrot/longopt.h
==============================================================================
--- branches/assert_args/include/parrot/longopt.h       (original)
+++ branches/assert_args/include/parrot/longopt.h       Fri Jan  2 22:13:47 2009
@@ -61,8 +61,8 @@
 
 #define ASSERT_ARGS_longopt_get __attribute__unused__ int _ASSERT_ARGS_CHECK = 
\
        PARROT_ASSERT_ARG(interp) \
-    || PARROT_ASSERT_ARG(argv[]) \
-    || PARROT_ASSERT_ARG(options[]) \
+    || PARROT_ASSERT_ARG(argv) \
+    || PARROT_ASSERT_ARG(options) \
     || PARROT_ASSERT_ARG(info_buf)
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will 
be lost. */
 /* HEADERIZER END: src/longopt.c */

Modified: branches/assert_args/src/longopt.c
==============================================================================
--- branches/assert_args/src/longopt.c  (original)
+++ branches/assert_args/src/longopt.c  Fri Jan  2 22:13:47 2009
@@ -50,13 +50,13 @@
 
 #define ASSERT_ARGS_longopt_get_longopt __attribute__unused__ int 
_ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \
-    || PARROT_ASSERT_ARG(argv[]) \
-    || PARROT_ASSERT_ARG(options[]) \
+    || PARROT_ASSERT_ARG(argv) \
+    || PARROT_ASSERT_ARG(options) \
     || PARROT_ASSERT_ARG(info_buf)
 #define ASSERT_ARGS_longopt_get_shortopt __attribute__unused__ int 
_ASSERT_ARGS_CHECK = \
        PARROT_ASSERT_ARG(interp) \
-    || PARROT_ASSERT_ARG(argv[]) \
-    || PARROT_ASSERT_ARG(options[]) \
+    || PARROT_ASSERT_ARG(argv) \
+    || PARROT_ASSERT_ARG(options) \
     || PARROT_ASSERT_ARG(info_buf)
 /* Don't modify between HEADERIZER BEGIN / HEADERIZER END.  Your changes will 
be lost. */
 /* HEADERIZER END: static */

Reply via email to