diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-25 00:30:31 +0100 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2014-02-25 00:30:31 +0100 |
commit | 6922e6678d247af8c9d63df7a3db2fe83c328f7e (patch) | |
tree | acdc9e46b7a79d01b81c4a1cd5383ac2f227e490 /src/export/map_coords.c | |
parent | ffbf9e8402aad3dff81546937798fe9f9a26289a (diff) |
Get rid of warnings uncovered with clangs -Weverything
Diffstat (limited to 'src/export/map_coords.c')
-rw-r--r-- | src/export/map_coords.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/export/map_coords.c b/src/export/map_coords.c index 93c858f..ed5376a 100644 --- a/src/export/map_coords.c +++ b/src/export/map_coords.c | |||
@@ -5,13 +5,13 @@ | |||
5 | #include <string.h> | 5 | #include <string.h> |
6 | #include <ctype.h> | 6 | #include <ctype.h> |
7 | 7 | ||
8 | int find_offset( const void *key, const void *line ) | 8 | static int find_offset( const void *key, const void *line ) |
9 | { | 9 | { |
10 | size_t l = strlen( (char*)key ); | 10 | size_t l = strlen( (char*)key ); |
11 | return strncmp( (char*)key, *(char**)line, l ); | 11 | return strncmp( (char*)key, *(char**)line, l ); |
12 | } | 12 | } |
13 | 13 | ||
14 | int qsort_cmp( const void *a, const void *b ) | 14 | static int qsort_cmp( const void *a, const void *b ) |
15 | { | 15 | { |
16 | return strcmp( *(char**)a, *(char**)b ); | 16 | return strcmp( *(char**)a, *(char**)b ); |
17 | } | 17 | } |