aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vi
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-22 01:42:45 +0000
commit3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41 (patch)
treef17746dd42b66c7b55fe407e00b5fc176ebe67a5 /usr.bin/vi
parentd3cb5ded92a4fcf21400c9742ca884549bebc99e (diff)
downloadsrc-3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41.tar.gz
src-3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41.zip
remove __P
Notes
Notes: svn path=/head/; revision=92922
Diffstat (limited to 'usr.bin/vi')
-rw-r--r--usr.bin/vi/port.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/usr.bin/vi/port.h b/usr.bin/vi/port.h
index 21f16c939027..bdd5faf2cf58 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