Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2017 06:42:21 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r319387 - stable/11/usr.bin/getconf
Message-ID:  <201706010642.v516gLfQ081247@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Jun  1 06:42:21 2017
New Revision: 319387
URL: https://svnweb.freebsd.org/changeset/base/319387

Log:
  MFC r318437:
  
  Revert local changes to find_progenv accidentally committed in r318436
  
  MFC with:	r318436

Modified:
  stable/11/usr.bin/getconf/getconf.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/getconf/getconf.h
==============================================================================
--- stable/11/usr.bin/getconf/getconf.h	Thu Jun  1 06:42:20 2017	(r319386)
+++ stable/11/usr.bin/getconf/getconf.h	Thu Jun  1 06:42:21 2017	(r319387)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706010642.v516gLfQ081247>