Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: [Wireshark-dev] Extraneous trailing comma in enum definition

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Albert Chin <wireshark-dev@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Nov 2006 14:07:33 -0600

The IBM C compiler on AIX 4.3.3 doesn't accept a trailing comma after
the last enum definition. Patch attached for stat_menu.h

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: stat_menu.h
===================================================================
--- stat_menu.h	(revision 19811)
+++ stat_menu.h	(working copy)
@@ -50,9 +50,9 @@
     REGISTER_STAT_GROUP_RESPONSE_TIME,
     REGISTER_STAT_GROUP_TELEPHONY,
     /* XXX - split into telephony and VoIP? */
-	REGISTER_ANALYZE_GROUP_NONE,
+	REGISTER_ANALYZE_GROUP_NONE
 #ifdef HAVE_LUA_5_1
-	REGISTER_TOOLS_GROUP_NONE,
+	,REGISTER_TOOLS_GROUP_NONE
 #endif
 } register_stat_group_t;
 
  • Follow-Ups:
    • Re: [Wireshark-dev] Extraneous trailing comma in enum definition
      • From: Jaap Keuter
  • Prev by Date: [Wireshark-dev] Problem due to segmentation...
  • Next by Date: Re: [Wireshark-dev] Extraneous trailing comma in enum definition
  • Previous by thread: Re: [Wireshark-dev] Anonymous union in epan/dissectors/packet-scsi-osd.c not valid with Sun C compiler
  • Next by thread: Re: [Wireshark-dev] Extraneous trailing comma in enum definition
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation