diff options
author | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
commit | a43fb158d0c5c90291b792d683aa0221403f1893 (patch) | |
tree | abc8b57813f81300bc2b7a4ad80223e666d05d7d /trek/getpar.h | |
parent | 5572d7c395d19f949cb8a29c96791307e744681c (diff) | |
download | bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip |
Remove uses of __P.
Diffstat (limited to 'trek/getpar.h')
-rw-r--r-- | trek/getpar.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/trek/getpar.h b/trek/getpar.h index 23b2bab7..8363697f 100644 --- a/trek/getpar.h +++ b/trek/getpar.h @@ -1,4 +1,4 @@ -/* $NetBSD: getpar.h,v 1.8 2003/11/17 11:16:10 wiz Exp $ */ +/* $NetBSD: getpar.h,v 1.9 2004/01/27 20:30:31 jsm Exp $ */ /* * Copyright (c) 1980, 1993 @@ -31,7 +31,7 @@ * @(#)getpar.h 8.1 (Berkeley) 5/31/93 */ -typedef void (*cmdfun) __P((int)); +typedef void (*cmdfun)(int); struct cvntab /* used for getcodpar() parameter list */ { const char *abrev; @@ -40,11 +40,11 @@ struct cvntab /* used for getcodpar() parameter list */ int value2; }; -int getintpar __P((const char *)); -double getfltpar __P((const char *)); -int getynpar __P((const char *)); -const struct cvntab *getcodpar __P((const char *, const struct cvntab[])); -void getstrpar __P((const char *, char *, int, const char *)); -int testnl __P((void)); -void skiptonl __P((int)); -int readdelim __P((int)); +int getintpar(const char *); +double getfltpar(const char *); +int getynpar(const char *); +const struct cvntab *getcodpar(const char *, const struct cvntab[]); +void getstrpar(const char *, char *, int, const char *); +int testnl(void); +void skiptonl(int); +int readdelim(int); |