
Some header files use __BEGIN_DECLS without including sys/cdefs.h. This causes issues for C code that compiles against these headers, which may occur with Ports.
19 lines
403 B
C
19 lines
403 B
C
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <Kernel/API/POSIX/signal.h>
|
|
#include <Kernel/API/POSIX/sys/wait.h>
|
|
#include <sys/cdefs.h>
|
|
|
|
__BEGIN_DECLS
|
|
|
|
pid_t waitpid(pid_t, int* wstatus, int options);
|
|
pid_t wait(int* wstatus);
|
|
int waitid(idtype_t idtype, id_t id, siginfo_t* infop, int options);
|
|
|
|
__END_DECLS
|