(emp_sig_t): Pre-ISO C compatibility cruft. Just use void.
This commit is contained in:
parent
b218799e15
commit
4fa84b5cb1
7 changed files with 10 additions and 19 deletions
|
@ -137,7 +137,7 @@ empth_sem_wait(empth_sem_t *sm)
|
|||
lwpWait(sm);
|
||||
}
|
||||
|
||||
emp_sig_t
|
||||
void
|
||||
empth_alarm(int sig)
|
||||
{
|
||||
/* no way we can be here while using LWP threads */
|
||||
|
|
|
@ -585,7 +585,7 @@ empth_select(int fd, int flags)
|
|||
/************************
|
||||
* empth_alarm
|
||||
*/
|
||||
emp_sig_t
|
||||
void
|
||||
empth_alarm(int sig)
|
||||
{
|
||||
loc_Thread_t *pThread =
|
||||
|
|
|
@ -65,9 +65,6 @@ static void *
|
|||
empth_start(void *ctx)
|
||||
{
|
||||
struct sigaction act;
|
||||
extern emp_sig_t panic();
|
||||
extern emp_sig_t shutdwn();
|
||||
|
||||
|
||||
/* actually it should inherit all this from main but... */
|
||||
#ifdef SA_SIGINFO
|
||||
|
@ -411,7 +408,7 @@ empth_select(int fd, int flags)
|
|||
}
|
||||
|
||||
|
||||
emp_sig_t
|
||||
void
|
||||
empth_alarm(int sig)
|
||||
{
|
||||
struct sigaction act;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue