diff options
Diffstat (limited to 'lib/libc/sys/pdfork.c')
-rw-r--r-- | lib/libc/sys/pdfork.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/sys/pdfork.c b/lib/libc/sys/pdfork.c index d98f9b2f7d26..f25f081ec174 100644 --- a/lib/libc/sys/pdfork.c +++ b/lib/libc/sys/pdfork.c @@ -1,6 +1,5 @@ /* * Copyright (c) 2021 The FreeBSD Foundation. - * All rights reserved. * * Portions of this software were developed by Konstantin Belousov * under sponsorship from the FreeBSD Foundation. @@ -30,9 +29,6 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <sys/types.h> #include <sys/procdesc.h> #include "libc_private.h" @@ -41,6 +37,5 @@ __FBSDID("$FreeBSD$"); pid_t pdfork(int *fdp, int flags) { - return (((pid_t (*)(int *, int))__libc_interposing[ - INTERPOS_pdfork])(fdp, flags)); + return (INTERPOS_SYS(pdfork, fdp, flags)); } |