diff options
author | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-01 19:24:03 +0000 |
commit | cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 (patch) | |
tree | e0f7e445de1aa22a42ef873dc4b1118a8105ae93 /src/libauth | |
parent | 226d80b8213821af0cbf092d1507c52b504fd368 (diff) | |
download | plan9port-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/libauth')
-rw-r--r-- | src/libauth/attr.c | 8 | ||||
-rw-r--r-- | src/libauth/auth_getuserpasswd.c | 2 | ||||
-rw-r--r-- | src/libauth/auth_proxy.c | 2 | ||||
-rw-r--r-- | src/libauth/auth_respond.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/libauth/attr.c b/src/libauth/attr.c index d8ad9ab3..8adeefe6 100644 --- a/src/libauth/attr.c +++ b/src/libauth/attr.c @@ -144,10 +144,10 @@ _parseattr(char *s) t = tok[i]; if(p = strchr(t, '=')){ *p++ = '\0'; - // if(p-2 >= t && p[-2] == ':'){ - // p[-2] = '\0'; - // type = AttrDefault; - // }else + /* if(p-2 >= t && p[-2] == ':'){ */ + /* p[-2] = '\0'; */ + /* type = AttrDefault; */ + /* }else */ type = AttrNameval; a = _mkattr(type, t, p, a); setmalloctag(a, getcallerpc(&s)); diff --git a/src/libauth/auth_getuserpasswd.c b/src/libauth/auth_getuserpasswd.c index 4a40b263..522304ce 100644 --- a/src/libauth/auth_getuserpasswd.c +++ b/src/libauth/auth_getuserpasswd.c @@ -4,7 +4,7 @@ #include "authlocal.h" enum { - ARgiveup = 100, + ARgiveup = 100 }; static int diff --git a/src/libauth/auth_proxy.c b/src/libauth/auth_proxy.c index 8761cc9d..257bafe7 100644 --- a/src/libauth/auth_proxy.c +++ b/src/libauth/auth_proxy.c @@ -6,7 +6,7 @@ #include "authlocal.h" enum { - ARgiveup = 100, + ARgiveup = 100 }; static uchar* diff --git a/src/libauth/auth_respond.c b/src/libauth/auth_respond.c index d39facfd..b3cf6665 100644 --- a/src/libauth/auth_respond.c +++ b/src/libauth/auth_respond.c @@ -5,7 +5,7 @@ #include "authlocal.h" enum { - ARgiveup = 100, + ARgiveup = 100 }; static int |