summaryrefslogtreecommitdiffstats
path: root/usr.bin/mesg/mesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mesg/mesg.c')
-rw-r--r--usr.bin/mesg/mesg.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/mesg/mesg.c b/usr.bin/mesg/mesg.c
index 6c4a1e2..8b39ec7 100644
--- a/usr.bin/mesg/mesg.c
+++ b/usr.bin/mesg/mesg.c
@@ -62,9 +62,7 @@ __FBSDID("$FreeBSD$");
static void usage(void);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
struct stat sb;
char *tty;
@@ -111,7 +109,7 @@ main(argc, argv)
}
static void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: mesg [y | n]\n");
exit(2);
OpenPOWER on IntegriCloud