summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_reference.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/xdr_reference.c')
-rw-r--r--libc/inet/rpc/xdr_reference.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c
index 4d3d99278..dfb9ac49e 100644
--- a/libc/inet/rpc/xdr_reference.c
+++ b/libc/inet/rpc/xdr_reference.c
@@ -40,6 +40,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
@@ -76,6 +77,7 @@ xdrproc_t proc; /* xdr routine to handle the object */
}
bzero(loc, (int) size);
break;
+ default: /* silence the warnings */
}
stat = (*proc) (xdrs, loc, LASTUNSIGNED);