aboutsummaryrefslogtreecommitdiff
path: root/src/libsunrpc
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/libsunrpc
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/libsunrpc')
-rw-r--r--src/libsunrpc/fd.c2
-rw-r--r--src/libsunrpc/rpc.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libsunrpc/fd.c b/src/libsunrpc/fd.c
index 23cfb401..a808ad55 100644
--- a/src/libsunrpc/fd.c
+++ b/src/libsunrpc/fd.c
@@ -5,7 +5,7 @@
enum
{
- MaxRead = 17000,
+ MaxRead = 17000
};
typedef struct SunMsgFd SunMsgFd;
diff --git a/src/libsunrpc/rpc.c b/src/libsunrpc/rpc.c
index 837ead21..4c324429 100644
--- a/src/libsunrpc/rpc.c
+++ b/src/libsunrpc/rpc.c
@@ -38,7 +38,7 @@ enum
MsgAuthRejectedVerf = 4,
MsgAuthTooWeak = 5,
MsgAuthInvalidResp = 6,
- MsgAuthFailed = 7,
+ MsgAuthFailed = 7
};
SunStatus
@@ -271,8 +271,8 @@ sunauthinfoprint(Fmt *fmt, SunAuthInfo *ai)
fmtprint(fmt, "%#ux", ai->flavor);
break;
}
-// if(ai->ndata)
-// fmtprint(fmt, " %.*H", ai->ndata, ai->data);
+/* if(ai->ndata) */
+/* fmtprint(fmt, " %.*H", ai->ndata, ai->data); */
}
uint