diff options
| author | Marcel Raad <raad@teamviewer.com> | 2017-05-01 12:55:09 +0200 | 
|---|---|---|
| committer | Marcel Raad <raad@teamviewer.com> | 2017-05-01 12:55:09 +0200 | 
| commit | 7dd89c1cdcda16945610c4cdef89b5cdb2c183a8 (patch) | |
| tree | 071d52fca528b4f6b15903c6432c4a74a6a044a8 /tests/libtest/lib1531.c | |
| parent | c3513f7e83804d63f3ba8e65d34ada38974d7851 (diff) | |
tests: declare TU-local variables static
This fixes missing-variable-declarations warnings when building with
clang.
Diffstat (limited to 'tests/libtest/lib1531.c')
| -rw-r--r-- | tests/libtest/lib1531.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/libtest/lib1531.c b/tests/libtest/lib1531.c index b21d06733..e6386b264 100644 --- a/tests/libtest/lib1531.c +++ b/tests/libtest/lib1531.c @@ -27,8 +27,8 @@  #define TEST_HANG_TIMEOUT 60 * 1000 -char const testData[] = ".abc\0xyz"; -off_t const testDataSize = sizeof(testData) - 1; +static char const testData[] = ".abc\0xyz"; +static off_t const testDataSize = sizeof(testData) - 1;  int test(char *URL)  { | 
