size_t qfpathnamelen;
setfsent();
- quphead = (struct quotause *)0;
+ quphead = NULL;
qcmd = QCMD(Q_GETQUOTA, quotatype);
while ((fs = getfsent())) {
if (strcmp(fs->fs_vfstype, "ffs") &&
else
quptail->next = qup;
quptail = qup;
- qup->next = 0;
+ qup->next = NULL;
}
endfsent();
return(quphead);
warnx("%s: bad format", line1);
return(0);
}
- if ((cp = strtok((char *)0, "\n")) == NULL) {
+ if ((cp = strtok(NULL, "\n")) == NULL) {
warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]);
return(0);
}
warnx("%s: bad format", line1);
return(0);
}
- if ((cp = strtok((char *)0, "\n")) == NULL) {
+ if ((cp = strtok(NULL, "\n")) == NULL) {
warnx("%s: %s: bad format", fsp,
&fsp[strlen(fsp) + 1]);
return(0);