summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/bestmatch.h2
-rw-r--r--src/pch.c2
3 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index eac3bd4..73acd29 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,6 @@ if test "$gl_gcc_warnings" = yes; then
nw="$nw -Wstack-protector" # not worth working around
# things to fix soon:
nw="$nw -Wshadow"
- nw="$nw -Wmissing-prototypes"
nw="$nw -Wmissing-format-attribute"
nw="$nw -Wmissing-declarations"
nw="$nw -Wstrict-overflow"
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)
{
diff --git a/src/pch.c b/src/pch.c
index b25424f..d07c1aa 100644
--- a/src/pch.c
+++ b/src/pch.c
@@ -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;