From 8ee04d6df9c3a63e11d4bdf96d71f4d2f5701c4a Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Thu, 1 Jun 2017 06:42:20 +0000 Subject: [PATCH] MFC r318437: Revert local changes to find_progenv accidentally committed in r318436 MFC with: r318436 --- usr.bin/getconf/getconf.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/usr.bin/getconf/getconf.h b/usr.bin/getconf/getconf.h index 53cf783cc40d..266a0ff3b051 100644 --- a/usr.bin/getconf/getconf.h +++ b/usr.bin/getconf/getconf.h @@ -36,15 +36,8 @@ typedef long long intmax_t; #include #endif -typedef enum { - PROG_ENV_VALID_NO_ALT_PATH = -1, - PROG_ENV_INVALID = 0, - PROG_ENV_VALID_HAS_ALT_PATH = 1, - PROG_ENV_UNKNOWN = 2, -} prog_env_validity; - int find_confstr(const char *name, int *key); int find_limit(const char *name, intmax_t *value); int find_pathconf(const char *name, int *key); -prog_env_validity find_progenv(const char *name, const char **alt_path); +int find_progenv(const char *name, const char **alt_path); int find_sysconf(const char *name, int *key);