]> 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:45:19 +0000 (01:45 +0000)
committerguy <guy>
Fri, 12 May 2006 01:45:19 +0000 (01:45 +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 e38eaf4c9969d8d70a21ad7209dc8ec325669e5f..a0c1c64042ff3ec8193ed8d8ef5ec93c5417545b 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -41,6 +41,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 ddc2d1d3adbb36ac9751c29fb40d6ba42c7493b1..4d178e760410a0c86aa278ad1e3a9de4319caaae 100644 (file)
--- a/dccp.h
+++ b/dccp.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/dccp.h,v 1.3 2005-12-05 21:36:24 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/dccp.h,v 1.4 2006-05-12 01:45:19 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__ */