summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-06-01 06:42:20 +0000
committerngie <ngie@FreeBSD.org>2017-06-01 06:42:20 +0000
commit06be985b0d0d660944618b8ae863c588483b38de (patch)
tree3bfe252a338e082a90de04d29680e1765a6e8f4d
parentd30bcbf13f72dc0320d80a670c2175ca1de5620f (diff)
downloadFreeBSD-src-06be985b0d0d660944618b8ae863c588483b38de.zip
FreeBSD-src-06be985b0d0d660944618b8ae863c588483b38de.tar.gz
MFC r318437:
Revert local changes to find_progenv accidentally committed in r318436 MFC with: r318436
-rw-r--r--usr.bin/getconf/getconf.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/getconf/getconf.h b/usr.bin/getconf/getconf.h
index 53cf783..266a0ff 100644
--- a/usr.bin/getconf/getconf.h
+++ b/usr.bin/getconf/getconf.h
@@ -36,15 +36,8 @@ typedef long long intmax_t;
#include <inttypes.h>
#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);
OpenPOWER on IntegriCloud