diff options
| -rw-r--r-- | test/example.c | 6 | ||||
| -rw-r--r-- | test/minigzip.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/example.c b/test/example.c index 6d9bad35d1..bd50d9cb22 100644 --- a/test/example.c +++ b/test/example.c @@ -21,13 +21,13 @@ } \ } -const char hello[] = "hello, hello!"; +static const char hello[] = "hello, hello!"; /* "hello world" would be more standard, but the repeated "hello" * stresses the compression code better, sorry... */ -const char dictionary[] = "hello"; -unsigned long dictId; /* Adler32 value of the dictionary */ +static const char dictionary[] = "hello"; +static unsigned long dictId; /* Adler32 value of the dictionary */ void test_deflate (unsigned char *compr, size_t comprLen); void test_inflate (unsigned char *compr, size_t comprLen, unsigned char *uncompr, size_t uncomprLen); diff --git a/test/minigzip.c b/test/minigzip.c index 5bfc1ce795..dd81137f1d 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -241,7 +241,7 @@ const char *gzerror(gzFile gz, int *err) #endif -char *prog; +static char *prog; void error (const char *msg); void gz_compress (FILE *in, gzFile out); |
