Cleaned up src/lib/utils library. Renamed server_ functions to more logical
names. All system processes can now either use panic() or report() from libutils, or redefine their own function. Assertions are done via the standard <assert.h> functionality.
This commit is contained in:
@@ -31,9 +31,6 @@ long min, max; /* minimum and maximum values for the parameter */
|
||||
long newpar;
|
||||
int s, i = 0, radix, r;
|
||||
|
||||
#if DEAD_CODE
|
||||
if ((s=sys_getkenv(env, strlen(env), value, sizeof(value))) != 0) {
|
||||
#endif
|
||||
if ((s=get_mon_param(env, value, sizeof(value))) != 0) {
|
||||
if (s == ESRCH) return(EP_UNSET); /* only error allowed */
|
||||
printf("WARNING: sys_getkenv() failed in env_parse(): %d\n",s);
|
||||
|
||||
Reference in New Issue
Block a user