]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Don Ebright: some compilers, such as the AIX compiler, reject a
authorguy <guy>
Fri, 12 May 2006 01:46:17 +0000 (01:46 +0000)
committerguy <guy>
Fri, 12 May 2006 01:46:17 +0000 (01:46 +0000)
comma at the end of the last member of an enum (the C language spec
doesn't say it's valid to have one there).

CREDITS
dccp.h

diff --git a/CREDITS b/CREDITS
index c72d8f0a5a933926781224dc51fa3868bcc5404f..186867bae5a81c3b0f70a717dd9709ee9f866444 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -39,6 +39,7 @@ Additional people who have contributed patches:
        David Binderman                 <[email protected]>
        David Smith                     <[email protected]>
        David Young                     <[email protected]>
+       Don Ebright                     <[email protected]>
        Eddie Kohler                    <[email protected]>
        Francis Dupont                  <[email protected]>
        Francisco Matias Cuenca-Acuna   <[email protected]>
diff --git a/dccp.h b/dccp.h
index 23609338a6d1499dad706d890310e0ee2076987e..ca71a34175f591826b4d156236e26fea57a5db27 100644 (file)
--- a/dccp.h
+++ b/dccp.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/dccp.h,v 1.1.2.3 2005-12-05 21:48:10 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/dccp.h,v 1.1.2.4 2006-05-12 01:46:17 guy Exp $ (LBL) */
 /*
  * Copyright (C) Arnaldo Carvalho de Melo 2004
  * Copyright (C) Ian McDonald 2005 <[email protected]>
@@ -117,7 +117,7 @@ enum dccp_pkt_type {
        DCCP_PKT_RESET,
        DCCP_PKT_SYNC,
        DCCP_PKT_SYNCACK,
-       DCCP_PKT_INVALID,
+       DCCP_PKT_INVALID
 };
 
 enum dccp_reset_codes {
@@ -133,7 +133,7 @@ enum dccp_reset_codes {
        DCCP_RESET_CODE_TOO_BUSY,
        DCCP_RESET_CODE_BAD_INIT_COOKIE,
        DCCP_RESET_CODE_AGGRESSION_PENALTY,
-       __DCCP_RESET_CODE_LAST,
+       __DCCP_RESET_CODE_LAST
 };
 
 #endif /* __DCCP_HDR__ */