/* Function prototypes. */
/* sm.c */
-_PROTOTYPE( void main, (void));
+_PROTOTYPE( int main, (void));
/* manager.c */
_PROTOTYPE( int do_exit, (message *m));
/*===========================================================================*
* 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
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. */