aboutsummaryrefslogtreecommitdiff
path: root/src/libauth/attr.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/libauth/attr.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/libauth/attr.c')
-rw-r--r--src/libauth/attr.c8
1 files changed, 4 insertions, 4 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));