aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/getconf
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-05-18 01:46:30 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-05-18 01:46:30 +0000
commit382cc5a49418becdfec0f857cc6b8c7c9450ec2b (patch)
treecdfda2dca65be9ac8e0d4b8f09fadf7d295b5f4f /usr.bin/getconf
parent20d90b10b1510dd503348ec04268adcffce35591 (diff)
downloadsrc-382cc5a49418becdfec0f857cc6b8c7c9450ec2b.tar.gz
src-382cc5a49418becdfec0f857cc6b8c7c9450ec2b.zip
Revert local changes to find_progenv accidentally committed in r318436
MFC after: 2 weeks MFC with: r318436 Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=318437
Diffstat (limited to 'usr.bin/getconf')
-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 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 <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);