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:
Jorrit Herder
2005-06-01 14:31:00 +00:00
parent 75689debe3
commit 6d23f072f3
58 changed files with 364 additions and 498 deletions
-3
View File
@@ -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);