summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-08-15 07:27:14 +0200
committerJim Meyering <meyering@redhat.com>2011-08-15 07:27:14 +0200
commit320355d6d4a7cbaf15a34341131e506fff8e41c2 (patch)
tree4859e34092cfede38074bf6fe8ec76b1b424b33c
parent8739d45f721feb3d05d75f5ca0afda4bacea635b (diff)
downloaddiffutils-320355d6d4a7cbaf15a34341131e506fff8e41c2.tar.gz
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.
-rw-r--r--src/diff.h2
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 *);