./usr/include/disktab.h minix-comp
./usr/include/dlfcn.h minix-comp
./usr/include/elf.h minix-comp
-./usr/include/env.h minix-comp
+./usr/include/env.h minix-comp obsolete
./usr/include/err.h minix-comp
./usr/include/errno.h minix-comp
./usr/include/eti.h minix-comp
NOOBJ= # defined
-INCS+= env.h lib.h libutil.h varargs.h configfile.h
+INCS+= lib.h libutil.h varargs.h configfile.h
.include <bsd.own.mk>
+++ /dev/null
-int env_parse(const char *env, const char *fmt, int field, long *param, long min,
- long max);
-void __dead env_panic(const char *env);
-int env_prefix(char *env, char *prefix);
void env_setargs(int argc, char *argv[]);
int env_get_param(const char *key, char *value, int max_size);
-int env_prefix(char *env, char *prefix);
-void env_panic(const char *key);
+int env_prefix(const char *env, const char *prefix);
+void __dead env_panic(const char *key);
int env_parse(const char *env, const char *fmt, int field,
long *param, long min, long max);
#include "sysutil.h"
#include <string.h>
-#include <env.h>
/*=========================================================================*
* env_panic *
#include "sysutil.h"
#include <stdlib.h>
-#include <env.h>
#include <string.h>
#include <minix/param.h>
/*=========================================================================*
* env_prefix *
*=========================================================================*/
-int env_prefix(env, prefix)
-char *env; /* environment variable to inspect */
-char *prefix; /* prefix to test for */
+int env_prefix(const char *env, const char *prefix)
{
/* An environment setting may be prefixed by a word, usually "pci".
+ * - env: environment variable to inspect
+ * - prefix: prefix to test for
* Return TRUE if a given prefix is used.
*/
char value[EP_BUF_SIZE];
#include <sys/utsname.h>
#include <sys/wait.h>
#include <machine/archtypes.h>
-#include <env.h>
#include <assert.h>
#include "mproc.h"
#include <minix/bitmap.h>
#include <errno.h>
-#include <env.h>
#include "glo.h"
#include "vm.h"
#include <errno.h>
#include <assert.h>
-#include <env.h>
#include "glo.h"
#include "proto.h"
#include <string.h>
#include <errno.h>
-#include <env.h>
#include <assert.h>
#include "glo.h"
#include <ctype.h>
#include <errno.h>
#include <string.h>
-#include <env.h>
#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <assert.h>
#include <string.h>
-#include <env.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
-#include <env.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
-#include <env.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#include <env.h>
#include <stdio.h>
#include <assert.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
-#include <env.h>
#include <sys/param.h>
#include <minix/rs.h>
#include <string.h>
#include <errno.h>
-#include <env.h>
#include <unistd.h>
#include <assert.h>
#include <sys/cdefs.h>
#include <minix/bitmap.h>
#include <string.h>
#include <errno.h>
-#include <env.h>
#include <unistd.h>
#include <assert.h>
#include <sys/param.h>