Mark the variable declarations in .h files as extern
[git.git] / sha1_file.c
index f1c1c70..e21f4b3 100644 (file)
@@ -335,7 +335,7 @@ int write_sha1_file(char *buf, unsigned long len, const char *type, unsigned cha
        stream.next_in = hdr;
        stream.avail_in = hdrlen;
        while (deflate(&stream, 0) == Z_OK)
-               /* nothing */
+               /* nothing */;
 
        /* Then the data itself.. */
        stream.next_in = buf;