diff options
author | imp <imp@FreeBSD.org> | 2002-03-22 01:42:45 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-22 01:42:45 +0000 |
commit | 0b20191705a346bc322deac818912bd4eab96a1b (patch) | |
tree | f17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/vi | |
parent | 1698cb216e2d4ca62662103eba0191f134923698 (diff) | |
download | FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.zip FreeBSD-src-0b20191705a346bc322deac818912bd4eab96a1b.tar.gz |
remove __P
Diffstat (limited to 'usr.bin/vi')
-rw-r--r-- | usr.bin/vi/port.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/usr.bin/vi/port.h b/usr.bin/vi/port.h index 21f16c9..bdd5faf 100644 --- a/usr.bin/vi/port.h +++ b/usr.bin/vi/port.h @@ -1,5 +1,7 @@ /* @(#)port.h.in 8.13 (Berkeley) 6/12/96 */ +/* $FreeBSD$ */ + /* * Declare the basic types, if they aren't already declared. Named and * some system's db.h files protect them with __BIT_TYPES_DEFINED__. @@ -13,23 +15,6 @@ #endif - - - - - -/* - * XXX - * Handle function prototypes. This steps on name space that vi doesn't - * control, but all of the other solutions are worse. - */ -#undef __P -#if defined(__STDC__) || defined(__cplusplus) -#define __P(protos) protos /* ANSI C prototypes */ -#else -#define __P(protos) () /* K&R C preprocessor */ -#endif - /* * XXX * Some versions of System V changed the number of arguments to gettimeofday |