diff options
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 | } |
