From: Jorrit Herder Date: Thu, 25 Aug 2005 12:33:09 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v3.1.0~280 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-revoke.html?a=commitdiff_plain;h=68da9cc0fe63e85682caff8961c47aa317263d8d;p=minix.git *** empty log message *** --- diff --git a/servers/rs/proto.h b/servers/rs/proto.h index 522078241..d118c3c4a 100644 --- a/servers/rs/proto.h +++ b/servers/rs/proto.h @@ -1,7 +1,7 @@ /* Function prototypes. */ /* sm.c */ -_PROTOTYPE( void main, (void)); +_PROTOTYPE( int main, (void)); /* manager.c */ _PROTOTYPE( int do_exit, (message *m)); diff --git a/servers/rs/rs.c b/servers/rs/rs.c index e4be0d051..9a4977e6b 100644 --- a/servers/rs/rs.c +++ b/servers/rs/rs.c @@ -25,7 +25,7 @@ FORWARD _PROTOTYPE(void reply, (int whom, int result) ); /*===========================================================================* * main * *===========================================================================*/ -PUBLIC void main(void) +PUBLIC int main(void) { /* This is the main routine of this service. The main loop consists of * three major activities: getting new work, processing the work, and @@ -90,7 +90,6 @@ PUBLIC void main(void) PRIVATE void init_server(void) { /* Initialize the reincarnation server. */ - int i, s; struct sigaction sa; /* Install signal handlers. Ask PM to transform signal into message. */