diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-06-07 15:17:31 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-06-07 15:19:37 -0400 |
commit | e51c089b745161dd6e1d64998e99d065fc22377e (patch) | |
tree | 5e792dd53ed48f3c5d0a0aa78c0ce8e777f385a2 /src/lib/kdb/iprop_xdr.c | |
parent | 4f551a7ec126c52ee1f8fea4c3954015b70987bd (diff) | |
download | krb5-e51c089b745161dd6e1d64998e99d065fc22377e.zip krb5-e51c089b745161dd6e1d64998e99d065fc22377e.tar.gz krb5-e51c089b745161dd6e1d64998e99d065fc22377e.tar.bz2 |
Fix various warnings
Diffstat (limited to 'src/lib/kdb/iprop_xdr.c')
-rw-r--r-- | src/lib/kdb/iprop_xdr.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/lib/kdb/iprop_xdr.c b/src/lib/kdb/iprop_xdr.c index 2ab59f5..8bf2c89 100644 --- a/src/lib/kdb/iprop_xdr.c +++ b/src/lib/kdb/iprop_xdr.c @@ -9,7 +9,7 @@ #pragma GCC diagnostic ignored "-Wunused-variable" #endif -bool_t +static bool_t xdr_int16_t (XDR *xdrs, int16_t *objp) { register int32_t *buf; @@ -19,17 +19,7 @@ xdr_int16_t (XDR *xdrs, int16_t *objp) return TRUE; } -bool_t -xdr_uint16_t (XDR *xdrs, uint16_t *objp) -{ - register int32_t *buf; - - if (!xdr_u_short (xdrs, objp)) - return FALSE; - return TRUE; -} - -bool_t +static bool_t xdr_int32_t (XDR *xdrs, int32_t *objp) { register int32_t *buf; @@ -39,7 +29,7 @@ xdr_int32_t (XDR *xdrs, int32_t *objp) return TRUE; } -bool_t +static bool_t xdr_uint32_t (XDR *xdrs, uint32_t *objp) { register int32_t *buf; |