- style, remove (void) in front of printf and the like

CR:		D161
Approved by:	cognet, bapt
This commit is contained in:
Pietro Cerutti 2014-06-03 20:58:11 +00:00
parent d6cf3c637e
commit af99cef7e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267026

View File

@ -86,17 +86,17 @@ main(int argc, char **argv)
/* NOTREACHED */
}
}
(void)strlcpy(names[ncnt], ut->ut_user, sizeof(*names));
strlcpy(names[ncnt], ut->ut_user, sizeof(*names));
++ncnt;
}
endutxent();
if (ncnt > 0) {
qsort(names, ncnt, sizeof(namebuf), scmp);
(void)printf("%s", names[0]);
printf("%s", names[0]);
for (cnt = 1; cnt < ncnt; ++cnt)
if (strcmp(names[cnt], names[cnt - 1]) != 0)
(void)printf(" %s", names[cnt]);
(void)printf("\n");
printf(" %s", names[cnt]);
printf("\n");
}
exit(0);
}
@ -104,7 +104,7 @@ main(int argc, char **argv)
static void
usage(void)
{
(void)fprintf(stderr, "usage: users\n");
fprintf(stderr, "usage: users\n");
exit(1);
}