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 /include/sunrpc.h | |
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 'include/sunrpc.h')
-rw-r--r-- | include/sunrpc.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/sunrpc.h b/include/sunrpc.h index 4917e261..9dd9aba3 100644 --- a/include/sunrpc.h +++ b/include/sunrpc.h @@ -21,7 +21,7 @@ enum SunAuthNone = 0, SunAuthSys, SunAuthShort, - SunAuthDes, + SunAuthDes }; typedef enum { @@ -46,7 +46,7 @@ typedef enum { SunAuthRejectedVerf, SunAuthTooWeak, SunAuthInvalidResp, - SunAuthFailed, + SunAuthFailed } SunStatus; struct SunAuthInfo @@ -78,7 +78,7 @@ struct SunRpc u32int proc; /* call */ - // uint proc; + /* uint proc; */ u32int prog, vers; SunAuthInfo cred; SunAuthInfo verf; @@ -87,16 +87,16 @@ struct SunRpc /* reply */ u32int status; - // SunAuthInfo verf; + /* SunAuthInfo verf; */ u32int low, high; - // uchar *data; - // uint ndata; + /* uchar *data; */ + /* uint ndata; */ }; typedef enum { SunCallTypeTNull, - SunCallTypeRNull, + SunCallTypeRNull } SunCallType; struct SunCall @@ -191,7 +191,7 @@ typedef struct SunSrv SunSrv; enum { - SunStackSize = 32768, + SunStackSize = 32768 }; struct SunMsg @@ -316,7 +316,7 @@ typedef enum PortCallTDump, PortCallRDump, PortCallTCallit, - PortCallRCallit, + PortCallRCallit } PortCallType; enum |