summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p')
-rw-r--r--sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p77
1 files changed, 60 insertions, 17 deletions
diff --git a/sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p b/sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p
index a55b06e..93ee6a9 100644
--- a/sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p
+++ b/sdk/recipes/patches/libiconv/ppc-amigaos/srclib.signal.in.h.p
@@ -1,29 +1,72 @@
---- srclib/signal.in.h.old 2012-10-21 01:08:10.000000000 +0100
-+++ srclib/signal.in.h 2012-10-21 01:10:19.000000000 +0100
-@@ -76,26 +76,6 @@
- /* This code supports only 32 signals. */
- typedef int verify_NSIG_constraint[2 * (NSIG <= 32) - 1];
+--- srclib/signal.in.h.orig 2011-08-07 14:42:06.000000000 +0100
++++ srclib/signal.in.h 2014-01-15 00:57:27.620548058 +0000
+@@ -168,69 +168,6 @@
+
+ # endif
--/* A set or mask of signals. */
--# if !@HAVE_SIGSET_T@
--typedef unsigned int sigset_t;
--# endif
--
-/* Test whether a given signal is contained in a signal set. */
--extern int sigismember (const sigset_t *set, int sig);
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigismember
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigismember, int, (const sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigismember, int, (const sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigismember);
-
-/* Initialize a signal set to the empty set. */
--extern int sigemptyset (sigset_t *set);
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigemptyset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigemptyset, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigemptyset, int, (sigset_t *set));
+-_GL_CXXALIASWARN (sigemptyset);
-
-/* Add a signal to a signal set. */
--extern int sigaddset (sigset_t *set, int sig);
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigaddset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigaddset, int, (sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigaddset, int, (sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigaddset);
-
-/* Remove a signal from a signal set. */
--extern int sigdelset (sigset_t *set, int sig);
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigdelset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigdelset, int, (sigset_t *set, int sig)
+- _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigdelset, int, (sigset_t *set, int sig));
+-_GL_CXXALIASWARN (sigdelset);
-
-/* Fill a signal set with all possible signals. */
--extern int sigfillset (sigset_t *set);
+-# if @HAVE_POSIX_SIGNALBLOCKING@
+-/* This function is defined as a macro on MacOS X. */
+-# if defined __cplusplus && defined GNULIB_NAMESPACE
+-# undef sigfillset
+-# endif
+-# else
+-_GL_FUNCDECL_SYS (sigfillset, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));
+-# endif
+-_GL_CXXALIAS_SYS (sigfillset, int, (sigset_t *set));
+-_GL_CXXALIASWARN (sigfillset);
-
/* Return the set of those blocked signals that are pending. */
- extern int sigpending (sigset_t *set);
-
+ # if !@HAVE_POSIX_SIGNALBLOCKING@
+ _GL_FUNCDECL_SYS (sigpending, int, (sigset_t *set) _GL_ARG_NONNULL ((1)));