(exit_nomem): New.

(update_init): New.
(start_server): Call it.
(start_server, update_sched): Move initialization stuff to it, with
error checking added.
(update_sched): Internal linkage.
This commit is contained in:
Markus Armbruster 2007-01-16 19:26:31 +00:00
parent 6cbdd3e02a
commit d38fcc6cf4
5 changed files with 40 additions and 11 deletions

View file

@ -111,6 +111,8 @@ extern int debug;
extern int oops(char *, char *, int);
void exit_nomem(void) ATTRIBUTE((noreturn));
/* return codes from command routines */
#define RET_OK 0 /* command completed sucessfully */
#define RET_FAIL 1 /* command completed unsucessfully [?] */