From a6e8d8ed2cbb18fa9d9277395a46a38295b2d6bf Mon Sep 17 00:00:00 2001 From: jwise Date: Mon, 1 Jan 2001 21:57:37 +0000 Subject: ANSIfy in preparation for further work. --- sail/dr_main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sail/dr_main.c') diff --git a/sail/dr_main.c b/sail/dr_main.c index 38bb33ec..4e7778c9 100644 --- a/sail/dr_main.c +++ b/sail/dr_main.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_main.c,v 1.6 2000/02/09 22:27:55 jsm Exp $ */ +/* $NetBSD: dr_main.c,v 1.7 2001/01/01 21:57:38 jwise Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_main.c 8.2 (Berkeley) 4/16/94"; #else -__RCSID("$NetBSD: dr_main.c,v 1.6 2000/02/09 22:27:55 jsm Exp $"); +__RCSID("$NetBSD: dr_main.c,v 1.7 2001/01/01 21:57:38 jwise Exp $"); #endif #endif /* not lint */ @@ -47,16 +47,16 @@ __RCSID("$NetBSD: dr_main.c,v 1.6 2000/02/09 22:27:55 jsm Exp $"); #include int -dr_main() +dr_main(void) { int n; struct ship *sp; int nat[NNATION]; int value = 0; - (void) signal(SIGINT, SIG_IGN); - (void) signal(SIGQUIT, SIG_IGN); - (void) signal(SIGTSTP, SIG_IGN); + signal(SIGINT, SIG_IGN); + signal(SIGQUIT, SIG_IGN); + signal(SIGTSTP, SIG_IGN); if (game < 0 || game >= NSCENE) { fprintf(stderr, "DRIVER: Bad game number %d\n", game); exit(1); @@ -72,7 +72,7 @@ dr_main() foreachship(sp) { if (sp->file == NULL && (sp->file = (struct File *)calloc(1, sizeof (struct File))) == NULL) { - (void) fprintf(stderr, "DRIVER: Out of memory.\n"); + fprintf(stderr, "DRIVER: Out of memory.\n"); exit(1); } sp->file->index = sp - SHIP(0); -- cgit v1.2.3