From cbeb0b26e4c7caa8d1b47de791a7418dc20a4567 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 1 Apr 2006 19:24:03 +0000 Subject: Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. --- src/libsunrpc/fd.c | 2 +- src/libsunrpc/rpc.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libsunrpc') 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 -- cgit v1.2.3