#include <sys/ioccom.h>
#endif
#include <netinet/in.h>
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
#include <afs/venus.h>
#include "uss_common.h"
extern int errno;
static char rn[] = "uss_fs:InAFS";
register afs_int32 code;
- blob.in = (char *)0;
+ blob.in = NULL;
blob.in_size = 0;
blob.out_size = USS_FS_MAX_SIZE;
blob.out = uss_fs_OutBuff;
static char rn[] = "uss_fs_GetACL"; /*Routine name*/
register afs_int32 code; /*pioctl() result*/
- blob.in = (char *)0;
+ blob.in = NULL;
blob.in_size = 0;
blob.out = a_aclBuff;
blob.out_size = a_aclBuffBytes;
blob.in = a_aclBuff;
blob.in_size = a_aclBuffBytes;
- blob.out = (char *)0;
+ blob.out = NULL;
blob.out_size = 0;
#ifdef USS_FS_DB
static char rn[] = "uss_fs_GetVolStat"; /*Routine name*/
register afs_int32 code; /*pioctl() result*/
- blob.in = (char *)0;
+ blob.in = NULL;
blob.in_size = 0;
blob.out = a_volStatBuff;
blob.out_size = a_volStatBuffBytes;
static char rn[] = "uss_fs_CkBackups"; /*Routine name*/
register afs_int32 code; /*pioctl() result*/
- blob.in = (char *)0;
+ blob.in = NULL;
blob.in_size = 0;
- blob.out = (char *)0;
+ blob.out = NULL;
blob.out_size = 0;
#ifdef USS_FS_DB
rn, blob.in, blob.in_size, blob.out, blob.out_size);
#endif /* USS_FS_DB */
- code = pioctl((char *)0, /*No pathname needed here*/
+ code = pioctl(NULL, /*No pathname needed here*/
VIOCCKBACK, /*CheckBackups*/
&blob, /*Params*/
1); /*Symlink disposition*/
*/
blob.in = componentP;
blob.in_size = strlen(componentP) + 1;
- blob.out = (char *)0;
+ blob.out = NULL;
blob.out_size = 0;
if (!uss_DryRun) {