Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/signal.h')
-rw-r--r--newlib/libc/include/signal.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/signal.h b/newlib/libc/include/signal.h
index 311149146..e1170a234 100644
--- a/newlib/libc/include/signal.h
+++ b/newlib/libc/include/signal.h
@@ -1,12 +1,11 @@
#ifndef _SIGNAL_H_
-#ifdef __cplusplus
-extern "C" {
-#endif
#define _SIGNAL_H_
#include "_ansi.h"
#include <sys/signal.h>
+_BEGIN_STD_C
+
typedef int sig_atomic_t; /* Atomic entity type (ANSI) */
#if defined(__STDC__) || defined(__cplusplus)
@@ -31,7 +30,6 @@ _sig_func_ptr _EXFUN(signal, (int, _sig_func_ptr));
int _EXFUN(raise, (int));
#endif
-#ifdef __cplusplus
-}
-#endif
+_END_STD_C
+
#endif /* _SIGNAL_H_ */