summaryrefslogtreecommitdiffstats
path: root/lib/libedit/sys.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-02-19 19:39:35 +0000
committermillert <millert@openbsd.org>2002-02-19 19:39:35 +0000
commite7beb4a7d58a6a0955c07ef9465f5caa3383f928 (patch)
treea90c75bb4a04ab98987b06850cbdffd6c1903e17 /lib/libedit/sys.h
parentEvery command should have a manual page. (diff)
downloadwireguard-openbsd-e7beb4a7d58a6a0955c07ef9465f5caa3383f928.tar.xz
wireguard-openbsd-e7beb4a7d58a6a0955c07ef9465f5caa3383f928.zip
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
Diffstat (limited to 'lib/libedit/sys.h')
-rw-r--r--lib/libedit/sys.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h
index 975dec2d7ba..b3a9e01fe1f 100644
--- a/lib/libedit/sys.h
+++ b/lib/libedit/sys.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sys.h,v 1.5 2002/02/16 21:27:26 millert Exp $ */
+/* $OpenBSD: sys.h,v 1.6 2002/02/19 19:39:37 millert Exp $ */
/* $NetBSD: sys.h,v 1.3 1997/01/11 06:48:12 lukem Exp $ */
/*-
@@ -62,20 +62,12 @@
#ifndef _PTR_T
# define _PTR_T
-# ifdef __STDC__
typedef void* ptr_t;
-# else
-typedef char* ptr_t;
-# endif
#endif
#ifndef _IOCTL_T
# define _IOCTL_T
-# ifdef __STDC__
typedef void* ioctl_t;
-# else
-typedef char* ioctl_t;
-# endif
#endif
#include <stdio.h>