summaryrefslogtreecommitdiffstats
path: root/mille/mille.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-25 23:24:54 +0000
committerdholland <dholland@NetBSD.org>2009-05-25 23:24:54 +0000
commit1bb96be3372ee03925cdb9f4b5da4f5fa989c55e (patch)
tree8c771d8ae19fe69a371e8ffb0d0c289375996b27 /mille/mille.c
parentb699392ee5e6c55d892a0ab1a639208a373d9bab (diff)
downloadbsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.tar.gz
bsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.tar.zst
bsdgames-darwin-1bb96be3372ee03925cdb9f4b5da4f5fa989c55e.zip
ANSIfy function declarations. Object file diffs checked.
Diffstat (limited to 'mille/mille.c')
-rw-r--r--mille/mille.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/mille/mille.c b/mille/mille.c
index 293b7491..85cd73ff 100644
--- a/mille/mille.c
+++ b/mille/mille.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.c,v 1.16 2008/08/08 16:10:47 drochner Exp $ */
+/* $NetBSD: mille.c,v 1.17 2009/05/25 23:24:54 dholland Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1982, 1993\
#if 0
static char sccsid[] = "@(#)mille.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: mille.c,v 1.16 2008/08/08 16:10:47 drochner Exp $");
+__RCSID("$NetBSD: mille.c,v 1.17 2009/05/25 23:24:54 dholland Exp $");
#endif
#endif /* not lint */
@@ -51,9 +51,7 @@ __RCSID("$NetBSD: mille.c,v 1.16 2008/08/08 16:10:47 drochner Exp $");
*/
int
-main(ac, av)
- int ac;
- char *av[];
+main(int ac, char *av[])
{
bool restore;
@@ -139,8 +137,7 @@ main(ac, av)
* quit.
*/
void
-rub(dummy)
- int dummy __unused;
+rub(int dummy __unused)
{
(void)signal(SIGINT, SIG_IGN);
if (getyn(REALLYPROMPT))
@@ -152,8 +149,7 @@ rub(dummy)
* Time to go beddy-by
*/
void
-die(code)
- int code;
+die(int code)
{
(void)signal(SIGINT, SIG_IGN);