aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ip/snoopy/ppp.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-04-01 19:24:03 +0000
committerrsc <devnull@localhost>2006-04-01 19:24:03 +0000
commitcbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch)
treee0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/cmd/ip/snoopy/ppp.c
parent226d80b8213821af0cbf092d1507c52b504fd368 (diff)
downloadplan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.gz
plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.tar.bz2
plan9port-cbeb0b26e4c7caa8d1b47de791a7418dc20a4567.zip
Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.
Diffstat (limited to 'src/cmd/ip/snoopy/ppp.c')
-rwxr-xr-xsrc/cmd/ip/snoopy/ppp.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/cmd/ip/snoopy/ppp.c b/src/cmd/ip/snoopy/ppp.c
index 3c36e437..9319cdae 100755
--- a/src/cmd/ip/snoopy/ppp.c
+++ b/src/cmd/ip/snoopy/ppp.c
@@ -90,7 +90,7 @@ enum
Oipdns= 129,
Oipwins= 130,
Oipdns2= 131,
- Oipwins2= 132,
+ Oipwins2= 132
};
char *
@@ -110,7 +110,7 @@ lcpcode[] = {
"id",
"timeremain",
"resetreq",
- "resetack",
+ "resetack"
};
static Mux p_mux[] =
@@ -126,12 +126,12 @@ static Mux p_mux[] =
{"ppp_lcp", PPP_lcp, },
{"ppp_lqm", PPP_lqm, },
{"ppp_chap", PPP_chap, },
- {0},
+ {0}
};
enum
{
- OOproto,
+ OOproto
};
static void
@@ -571,7 +571,7 @@ Proto ppp =
p_mux,
"%#.4lux",
nil,
- defaultframer,
+ defaultframer
};
Proto ppp_ipcp =
@@ -583,7 +583,7 @@ Proto ppp_ipcp =
nil,
nil,
nil,
- defaultframer,
+ defaultframer
};
Proto ppp_lcp =
@@ -595,7 +595,7 @@ Proto ppp_lcp =
nil,
nil,
nil,
- defaultframer,
+ defaultframer
};
Proto ppp_ccp =
@@ -607,7 +607,7 @@ Proto ppp_ccp =
nil,
nil,
nil,
- defaultframer,
+ defaultframer
};
Proto ppp_chap =
@@ -619,7 +619,7 @@ Proto ppp_chap =
nil,
nil,
nil,
- defaultframer,
+ defaultframer
};
Proto ppp_comp =
@@ -631,5 +631,5 @@ Proto ppp_comp =
nil,
nil,
nil,
- defaultframer,
+ defaultframer
};