summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--environment.c1
-rw-r--r--pager.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/environment.c b/environment.c
index 43823ff7d6..97d42b172b 100644
--- a/environment.c
+++ b/environment.c
@@ -21,6 +21,7 @@ char git_commit_encoding[MAX_ENCODING_LENGTH] = "utf-8";
int shared_repository = PERM_UMASK;
const char *apply_default_whitespace = NULL;
int zlib_compression_level = Z_DEFAULT_COMPRESSION;
+int pager_in_use;
static char *git_dir, *git_object_dir, *git_index_file, *git_refs_dir,
*git_graft_file;
diff --git a/pager.c b/pager.c
index bb14e99735..280f57f796 100644
--- a/pager.c
+++ b/pager.c
@@ -5,8 +5,6 @@
* something different on Windows, for example.
*/
-int pager_in_use;
-
static void run_pager(const char *pager)
{
execlp(pager, pager, NULL);