From 7e9312b93097159da43dcd18a9378f899e76e8e2 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 18 Jan 2024 19:00:11 +0000 Subject: [PATCH] the warning about syscall going away is a bit dated now. ok miod tb --- lib/libc/dlfcn/init.c | 7 +------ 1 file changed, 1 insertion(+), 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 * @@ -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 -- 2.20.1