[svn:parrot] r42502 - trunk/include/parrot

darbelo at svn.parrot.org darbelo at svn.parrot.org
Sat Nov 14 05:41:50 UTC 2009


Author: darbelo
Date: Sat Nov 14 05:41:49 2009
New Revision: 42502
URL: https://trac.parrot.org/parrot/changeset/42502

Log:
Remove trailing comas from enumerations so that picky compilers shut up about them.

Modified:
   trunk/include/parrot/call.h
   trunk/include/parrot/io.h

Modified: trunk/include/parrot/call.h
==============================================================================
--- trunk/include/parrot/call.h	Sat Nov 14 02:35:11 2009	(r42501)
+++ trunk/include/parrot/call.h	Sat Nov 14 05:41:49 2009	(r42502)
@@ -36,7 +36,7 @@
 typedef parrot_runloop_t Parrot_runloop;
 
 typedef enum {
-    CALLSIGNATURE_is_exception_FLAG      = PObj_private0_FLAG,
+    CALLSIGNATURE_is_exception_FLAG      = PObj_private0_FLAG /* last element */
 } callsignature_flags_enum;
 
 #define CALLSIGNATURE_get_FLAGS(o) (PObj_get_FLAGS(o))

Modified: trunk/include/parrot/io.h
==============================================================================
--- trunk/include/parrot/io.h	Sat Nov 14 02:35:11 2009	(r42501)
+++ trunk/include/parrot/io.h	Sat Nov 14 05:41:49 2009	(r42502)
@@ -948,7 +948,7 @@
 
 typedef enum {
     PIO_PROTO_TCP   = 6,
-    PIO_PROTO_UDP   = 17,
+    PIO_PROTO_UDP   = 17 /* last element */
 } Socket_Protocol;
 /* &end_gen */
 


More information about the parrot-commits mailing list