svn commit: r318437 - head/usr.bin/getconf
Ngie Cooper
ngie at FreeBSD.org
Thu May 18 01:46:32 UTC 2017
Author: ngie
Date: Thu May 18 01:46:30 2017
New Revision: 318437
URL: https://svnweb.freebsd.org/changeset/base/318437
Log:
Revert local changes to find_progenv accidentally committed in r318436
MFC after: 2 weeks
MFC with: r318436
Sponsored by: Dell EMC Isilon
Modified:
head/usr.bin/getconf/getconf.h
Modified: head/usr.bin/getconf/getconf.h
==============================================================================
--- head/usr.bin/getconf/getconf.h Thu May 18 01:43:30 2017 (r318436)
+++ head/usr.bin/getconf/getconf.h Thu May 18 01:46:30 2017 (r318437)
@@ -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);
More information about the svn-src-head
mailing list