[svn:parrot] r39812 - trunk/src

petdance at svn.parrot.org petdance at svn.parrot.org
Sun Jun 28 06:35:42 UTC 2009


Author: petdance
Date: Sun Jun 28 06:35:41 2009
New Revision: 39812
URL: https://trac.parrot.org/parrot/changeset/39812

Log:
fixing some splint flags

Modified:
   trunk/src/packdump.c

Modified: trunk/src/packdump.c
==============================================================================
--- trunk/src/packdump.c	Sat Jun 27 21:57:40 2009	(r39811)
+++ trunk/src/packdump.c	Sun Jun 28 06:35:41 2009	(r39812)
@@ -37,7 +37,7 @@
         __attribute__nonnull__(2)
         __attribute__nonnull__(3);
 
-static void pobj_flag_dump(PARROT_INTERP, ARGIN_NULLOK(long flags))
+static void pobj_flag_dump(PARROT_INTERP, long flags)
         __attribute__nonnull__(1);
 
 #define ASSERT_ARGS_PackFile_Constant_dump __attribute__unused__ int _ASSERT_ARGS_CHECK = \
@@ -88,7 +88,7 @@
 /* [this desperately needs better abstraction, so we're not duplicating the enum
  * PObj_enum definition in the include/parrot/pobj.h file.  -- rgr, 1-Mar-08.]
  */
-static const char *flag_bit_names[] =
+PARROT_OBSERVER static const char * const flag_bit_names[] =
 {
     "private0",
     "private1",
@@ -135,7 +135,7 @@
 */
 
 static void
-pobj_flag_dump(PARROT_INTERP, ARGIN_NULLOK(long flags))
+pobj_flag_dump(PARROT_INTERP, long flags)
 {
     ASSERT_ARGS(pobj_flag_dump)
     INTVAL idx = 0;


More information about the parrot-commits mailing list