(emp_sig_t): Pre-ISO C compatibility cruft. Just use void.

This commit is contained in:
Markus Armbruster 2004-02-15 21:00:27 +00:00
parent b218799e15
commit 4fa84b5cb1
7 changed files with 10 additions and 19 deletions

View file

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

View file

@ -585,7 +585,7 @@ empth_select(int fd, int flags)
/************************
* empth_alarm
*/
emp_sig_t
void
empth_alarm(int sig)
{
loc_Thread_t *pThread =

View file

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

View file

@ -297,7 +297,7 @@ close_files(void)
}
/* we're going down. try to close the files at least */
emp_sig_t
void
panic(int sig)
{
#if !defined(_WIN32)
@ -324,7 +324,7 @@ panic(int sig)
_exit(0);
}
emp_sig_t
void
shutdwn(int sig)
{
struct player *p;