diff options
author | Jim Meyering <meyering@redhat.com> | 2011-03-10 09:37:19 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-03-27 09:19:55 +0200 |
commit | d08c6262c745998e4ca34bc1e352a2fe208b39c4 (patch) | |
tree | 388bd02526e53bd85264a6da0ba3f76f9da99306 /src | |
parent | df2831fbdf3e61181a96324852e0a2a0fc6ae79a (diff) | |
download | patch-d08c6262c745998e4ca34bc1e352a2fe208b39c4.tar.gz |
build: don't turn off -Wmissing-prototypes
* configure.ac (WERROR_CFLAGS): Don't turn off -Wmissing-prototypes.
* src/pch.c (skip_hex_digits): Declare static.
* src/bestmatch.h (bestmatch): Likewise.
Diffstat (limited to 'src')
-rw-r--r-- | src/bestmatch.h | 2 | ||||
-rw-r--r-- | src/pch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bestmatch.h b/src/bestmatch.h index d3bba7e..958b1ca 100644 --- a/src/bestmatch.h +++ b/src/bestmatch.h @@ -51,7 +51,7 @@ * search. */ -OFFSET +static OFFSET bestmatch(OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, OFFSET min, OFFSET max, OFFSET *py) { @@ -366,7 +366,7 @@ sha1_says_nonexistent(char const *sha1, char const *end) return s == end; } -char const * +static char const * skip_hex_digits (char const *str) { char const *s; |