summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.c
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-21 11:25:11 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-21 11:25:11 +0000
commit40eace5efced8fed0917ed89504dd06f38d3a7f1 (patch)
tree5b0ca9524ca552fdd309341dde77682d614bc320 /usr.sbin/inetd/inetd.c
parentd7a02c161c69f776423fcdf4997cf87827a27761 (diff)
downloadFreeBSD-src-40eace5efced8fed0917ed89504dd06f38d3a7f1.zip
FreeBSD-src-40eace5efced8fed0917ed89504dd06f38d3a7f1.tar.gz
Use __typeof__ instead of typeof.
Diffstat (limited to 'usr.sbin/inetd/inetd.c')
-rw-r--r--usr.sbin/inetd/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index ec6e78d..4a17594 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -925,7 +925,7 @@ config(void)
if (sep != 0) {
int i;
-#define SWAP(a, b) { typeof(a) c = a; a = b; b = c; }
+#define SWAP(a, b) { __typeof__(a) c = a; a = b; b = c; }
omask = sigblock(SIGBLOCK);
if (sep->se_nomapped != new->se_nomapped) {
sep->se_nomapped = new->se_nomapped;
OpenPOWER on IntegriCloud