diff options
author | simonb <simonb@NetBSD.org> | 2000-07-31 11:35:03 +0000 |
---|---|---|
committer | simonb <simonb@NetBSD.org> | 2000-07-31 11:35:03 +0000 |
commit | 9a557771a2e2c63df029d00f06b865a04c158165 (patch) | |
tree | 8aa78a2fe3942124cc31ede9254d92bd58c7fe7e /hack/makedefs.c | |
parent | 082bea3cb121dc354c2dc17781ae2e9622864f8e (diff) | |
download | bsdgames-darwin-9a557771a2e2c63df029d00f06b865a04c158165.tar.gz bsdgames-darwin-9a557771a2e2c63df029d00f06b865a04c158165.tar.zst bsdgames-darwin-9a557771a2e2c63df029d00f06b865a04c158165.zip |
Don't use <sys/cdefs.h> __COPYRIGHT/__RCSID macros for host programs -
use portable ANSI constructs instead.
Patches from Chris Demetriou.
Diffstat (limited to 'hack/makedefs.c')
-rw-r--r-- | hack/makedefs.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/hack/makedefs.c b/hack/makedefs.c index 7ae60871..3aa621c6 100644 --- a/hack/makedefs.c +++ b/hack/makedefs.c @@ -1,12 +1,12 @@ -/* $NetBSD: makedefs.c,v 1.5 1997/10/19 16:59:36 christos Exp $ */ +/* $NetBSD: makedefs.c,v 1.6 2000/07/31 11:35:03 simonb Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ -#include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: makedefs.c,v 1.5 1997/10/19 16:59:36 christos Exp $"); +static char rcsid[] = + "$NetBSD: makedefs.c,v 1.6 2000/07/31 11:35:03 simonb Exp $"; #endif /* not lint */ #include <stdio.h> @@ -21,15 +21,15 @@ __RCSID("$NetBSD: makedefs.c,v 1.5 1997/10/19 16:59:36 christos Exp $"); int fd; char string[STRSZ]; -static void readline __P((void)); -static char nextchar __P((void)); -static int skipuntil __P((char *)); -static int getentry __P((void)); -static void capitalize __P((char *)); -static int letter __P((int)); -static int digit __P((int)); +static void readline(void); +static char nextchar(void); +static int skipuntil(char *); +static int getentry(void); +static void capitalize(char *); +static int letter(int); +static int digit(int); -int main __P((int, char **)); +int main(int, char **); int main(argc, argv) |