summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-18 19:00:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2024-01-18 19:00:12 +0000
commit408746e96bd3202115f7cca8f835be0aa3e06b24 (patch)
treec7014e15fe6e41a7a993149720232046beffb96f /lib/libc
parent61d865631262a5605f112fcc5444334b83c6629f (diff)
the warning about syscall going away is a bit dated now.
ok miod tb
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/dlfcn/init.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/dlfcn/init.c b/lib/libc/dlfcn/init.c
index b6acbf91064..c15eda483ac 100644
--- a/lib/libc/dlfcn/init.c
+++ b/lib/libc/dlfcn/init.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init.c,v 1.19 2023/10/12 16:37:05 deraadt Exp $ */
+/* $OpenBSD: init.c,v 1.20 2024/01/18 19:00:11 deraadt Exp $ */
/*
* Copyright (c) 2014,2015 Philip Guenther <guenther@openbsd.org>
*
@@ -35,11 +35,6 @@
#include "init.h"
-#if defined(APIWARN)
-__warn_references(syscall,
- "syscall() may go away, please rewrite code to use direct calls");
-#endif
-
#define MAX(a,b) (((a)>(b))?(a):(b))
#ifdef TIB_EXTRA_ALIGN