Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
This commit is contained in:
parent
226d80b821
commit
cbeb0b26e4
492 changed files with 3218 additions and 3167 deletions
|
|
@ -23,7 +23,7 @@ enum
|
|||
ROUT_HDR = 43,
|
||||
FRAG_HDR = 44,
|
||||
FRAG_HSZ = 8, /* in bytes */
|
||||
DEST_HDR = 60,
|
||||
DEST_HDR = 60
|
||||
};
|
||||
|
||||
static Mux p_mux[] =
|
||||
|
|
@ -126,10 +126,10 @@ static Mux p_mux[] =
|
|||
|
||||
enum
|
||||
{
|
||||
Os, // source
|
||||
Od, // destination
|
||||
Osd, // source or destination
|
||||
Ot, // type
|
||||
Os, /* source */
|
||||
Od, /* destination */
|
||||
Osd, /* source or destination */
|
||||
Ot, /* type */
|
||||
};
|
||||
|
||||
static Field p_fields[] =
|
||||
|
|
@ -306,5 +306,5 @@ Proto ip6 =
|
|||
p_mux,
|
||||
"%lud",
|
||||
p_fields,
|
||||
defaultframer,
|
||||
defaultframer
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue