"make syntax-check" was failing like this:
find_dir_file_pathname
the above functions should have static scope
make[1]: *** [_gl_tight_scope] Error 1
If fixed it with this:
>From 320355d6d4a7cbaf15a34341131e506fff8e41c2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Mon, 15 Aug 2011 07:27:14 +0200
Subject: [PATCH] maint: avoid new "make sytnax-check" failure.
* src/diff.h (find_dir_file_pathname): Mark declaration with "extern"
keyword, in order to placate the tight-scope syntax check.
---
src/diff.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/diff.h b/src/diff.h
index b44a157..578c4ea 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -335,7 +335,7 @@ extern void print_context_script (struct change *, bool);
extern int diff_dirs (struct comparison const *,
int (*) (struct comparison const *,
char const *, char const *));
-char *find_dir_file_pathname (char const *, char const *);
+extern char *find_dir_file_pathname (char const *, char const *);
/* ed.c */
extern void print_ed_script (struct change *);
--
1.7.6.821.g3eb91be