Fix some warnings in src/venus/fs.c so we can compile with
--enable-cache-bypass and --enable-checking:
-- Include ctype.h so isdigit gets a prototype
-- Make BypassThresholdCmd have the proper signature
-- Remove the unused 'size' variable
Change-Id: I09afc6c04c990476226d1c2a751e23d3d39085b6
Reviewed-on: http://gerrit.openafs.org/1025
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
#include <netdb.h>
#include <errno.h>
#include <stdio.h>
+#include <ctype.h>
#include <netinet/in.h>
#include <sys/stat.h>
#include <afs/stds.h>
*/
static int
-BypassThresholdCmd(struct cmd_syndesc *as, char *arock)
+BypassThresholdCmd(struct cmd_syndesc *as, void *arock)
{
afs_int32 code;
- afs_int32 size;
struct ViceIoctl blob;
afs_int32 threshold_i, threshold_o;
char *tp;