MFC r318437:

Revert local changes to find_progenv accidentally committed in r318436

MFC with:	r318436
This commit is contained in:
Enji Cooper 2017-06-01 06:42:20 +00:00
parent e51fe1ebac
commit 8ee04d6df9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=319386

View File

@ -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);