summaryrefslogtreecommitdiff
path: root/libexec/telnetd/ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/telnetd/ext.h')
-rw-r--r--libexec/telnetd/ext.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/libexec/telnetd/ext.h b/libexec/telnetd/ext.h
index 869a29270a8..9ab99b556ef 100644
--- a/libexec/telnetd/ext.h
+++ b/libexec/telnetd/ext.h
@@ -1,3 +1,6 @@
+/* $OpenBSD: ext.h,v 1.2 1996/03/28 23:21:56 niklas Exp $ */
+/* $NetBSD: ext.h,v 1.6 1996/02/28 20:38:13 thorpej Exp $ */
+
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
@@ -30,8 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * from: @(#)ext.h 8.1 (Berkeley) 6/4/93
- * $Id: ext.h,v 1.1 1995/10/18 08:43:23 deraadt Exp $
+ * from: @(#)ext.h 8.2 (Berkeley) 12/15/93
*/
/*
@@ -90,13 +92,8 @@ extern int pty, net;
extern char *line;
extern int SYNCHing; /* we are in TELNET SYNCH mode */
-#ifndef P
-# ifdef __STDC__
-# define P(x) x
-# else
-# define P(x) ()
-# endif
-#endif
+#include <sys/cdefs.h>
+#define P __P
extern void
_termstat P((void)),