summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog4
-rw-r--r--cpukit/libnetworking/sys/signalvar.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 95be7b97dd..eefa5e3d2b 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,9 @@
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libnetworking/sys/signalvar.h: Comment out unused code.
+
+2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
+
* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
* posix/include/rtems/posix/key.h: Add missing includes.
* libnetworking/machine/in_cksum.h: Add missing includes.
diff --git a/cpukit/libnetworking/sys/signalvar.h b/cpukit/libnetworking/sys/signalvar.h
index 5b60a1519c..83c9b4dc96 100644
--- a/cpukit/libnetworking/sys/signalvar.h
+++ b/cpukit/libnetworking/sys/signalvar.h
@@ -42,6 +42,7 @@
* not exported to user programs.
*/
+#if !defined(__rtems__)
/*
* Process signal actions and state, needed only within the process
* (not necessarily resident).
@@ -60,6 +61,7 @@ struct sigacts {
u_long ps_code; /* for core dump/debugger XXX */
sigset_t ps_usertramp; /* SunOS compat; libc sigtramp XXX */
};
+#endif
/* signal flags */
#define SAS_OLDMASK 0x01 /* need to restore mask before pause */
@@ -69,10 +71,12 @@ struct sigacts {
#define SIG_CATCH ((__sighandler_t *)2)
#define SIG_HOLD ((__sighandler_t *)3)
+#if !defined(__rtems__)
/*
* get signal action for process and signal; currently only for current process
*/
#define SIGACTION(p, sig) (p->p_sigacts->ps_sigact[(sig)])
+#endif
/*
* Determine signal that should be delivered to process p, the current