summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:36:05 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-02-23 14:36:05 +0000
commit546c4737f5472e5f3f7bdbe1b2f821da29b59e91 (patch)
treeed83b875a21f48a072830bac06d5a4fea0649ad6 /cpukit/libnetworking
parent2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-546c4737f5472e5f3f7bdbe1b2f821da29b59e91.tar.bz2
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/signalvar.h: Comment out unused code.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/sys/signalvar.h4
1 files changed, 4 insertions, 0 deletions
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