(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:
parent
6cbdd3e02a
commit
d38fcc6cf4
5 changed files with 40 additions and 11 deletions
|
@ -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 [?] */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue