Add missing `void' keywords.

This commit is contained in:
Ed Schouten 2009-12-29 22:33:53 +00:00
parent 8a036b7c03
commit 7b4f22d5ed
5 changed files with 5 additions and 5 deletions

View File

@ -344,7 +344,7 @@ getpackagesite(void)
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n",
"usage: pkg_add [-viInfFrRMSK] [-t template] [-p prefix] [-P prefix] [-C chrootdir]",

View File

@ -249,7 +249,7 @@ main(int argc, char **argv)
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
"usage: pkg_create [-YNOhjnvyz] [-C conflicts] [-P pkgs] [-p prefix]",

View File

@ -170,7 +170,7 @@ main(int argc, char **argv)
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n",
"usage: pkg_delete [-dDfGinrvxX] [-p prefix] pkg-name ...",

View File

@ -282,7 +282,7 @@ main(int argc, char **argv)
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n",
"usage: pkg_info [-bcdDEfgGiIjkKLmopPqQrRsvVxX] [-e package] [-l prefix]",

View File

@ -127,7 +127,7 @@ main(int argc, char **argv)
}
static void
usage()
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n",
"usage: pkg_version [-hIoqv] [-l limchar] [-L limchar] [[-X] -s string] [-O origin] [index]",