From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/options/ansi/include/signal.h | 48 --------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 lib/mlibc/options/ansi/include/signal.h (limited to 'lib/mlibc/options/ansi/include/signal.h') diff --git a/lib/mlibc/options/ansi/include/signal.h b/lib/mlibc/options/ansi/include/signal.h deleted file mode 100644 index e27592b..0000000 --- a/lib/mlibc/options/ansi/include/signal.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef _SIGNAL_H -#define _SIGNAL_H - -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -// [7.14] Signal handling basics - -typedef int sig_atomic_t; - -#define CLD_EXITED 1 -#define CLD_KILLED 2 -#define CLD_DUMPED 3 -#define CLD_TRAPPED 4 -#define CLD_STOPPED 5 -#define CLD_CONTINUED 6 - -#ifndef __MLIBC_ABI_ONLY - -// [7.14.1] signal() function - -__sighandler signal(int sig, __sighandler handler); - -// [7.14.2] raise() function - -int raise(int sig); - -#endif /* !__MLIBC_ABI_ONLY */ - -#define _NSIG NSIG - -#ifdef __cplusplus -} -#endif - -#if __MLIBC_POSIX_OPTION -# include -#endif - -#if __MLIBC_GLIBC_OPTION -# include -#endif - -#endif // _SIGNAL_H -- cgit v1.2.3