solve a splint warning
authorHelmut Grohne <helmut@subdivi.de>
Mon, 25 Mar 2013 10:54:47 +0000 (11:54 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Mon, 25 Mar 2013 10:54:47 +0000 (11:54 +0100)
fuzzy.c

diff --git a/fuzzy.c b/fuzzy.c
index a9e6d4a..6123341 100644 (file)
--- a/fuzzy.c
+++ b/fuzzy.c
@@ -213,6 +213,10 @@ int fuzzy_update(struct fuzzy_state *self, const unsigned char *buffer,
        return 0;
 }
 
+#ifdef S_SPLINT_S
+extern const int EOVERFLOW;
+#endif
+
 int fuzzy_digest(const struct fuzzy_state *self, /*@out@*/ char *result) {
        unsigned int bi = self->bhstart;
        uint32_t h = roll_sum(&self->roll);