2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/sys/signalvar.h: Comment out unused code.
This commit is contained in:
Ralf Corsepius
2011-02-23 14:36:05 +00:00
parent 324c186aae
commit 546c4737f5
2 changed files with 8 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
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.

View File

@@ -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