forked from Imagelibrary/rtems
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/signalvar.h: Comment out unused code.
This commit is contained in:
@@ -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>
|
2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
|
* posix/include/rtems/posix/mqueue.h: Relocate "extern C++" guards.
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
* not exported to user programs.
|
* not exported to user programs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if !defined(__rtems__)
|
||||||
/*
|
/*
|
||||||
* Process signal actions and state, needed only within the process
|
* Process signal actions and state, needed only within the process
|
||||||
* (not necessarily resident).
|
* (not necessarily resident).
|
||||||
@@ -60,6 +61,7 @@ struct sigacts {
|
|||||||
u_long ps_code; /* for core dump/debugger XXX */
|
u_long ps_code; /* for core dump/debugger XXX */
|
||||||
sigset_t ps_usertramp; /* SunOS compat; libc sigtramp XXX */
|
sigset_t ps_usertramp; /* SunOS compat; libc sigtramp XXX */
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
/* signal flags */
|
/* signal flags */
|
||||||
#define SAS_OLDMASK 0x01 /* need to restore mask before pause */
|
#define SAS_OLDMASK 0x01 /* need to restore mask before pause */
|
||||||
@@ -69,10 +71,12 @@ struct sigacts {
|
|||||||
#define SIG_CATCH ((__sighandler_t *)2)
|
#define SIG_CATCH ((__sighandler_t *)2)
|
||||||
#define SIG_HOLD ((__sighandler_t *)3)
|
#define SIG_HOLD ((__sighandler_t *)3)
|
||||||
|
|
||||||
|
#if !defined(__rtems__)
|
||||||
/*
|
/*
|
||||||
* get signal action for process and signal; currently only for current process
|
* get signal action for process and signal; currently only for current process
|
||||||
*/
|
*/
|
||||||
#define SIGACTION(p, sig) (p->p_sigacts->ps_sigact[(sig)])
|
#define SIGACTION(p, sig) (p->p_sigacts->ps_sigact[(sig)])
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Determine signal that should be delivered to process p, the current
|
* Determine signal that should be delivered to process p, the current
|
||||||
|
|||||||
Reference in New Issue
Block a user