summaryrefslogtreecommitdiff
path: root/tests/test_tile_decoder.c
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-15 15:47:56 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-15 15:47:56 +0000
commit98682e1073211000495aa378e7da5bfb69b225c9 (patch)
treef0879b27e100b989183e787898e52ecd23396751 /tests/test_tile_decoder.c
parentd6bcb8b7e074c4543ee0243b355f8b3ff0566c9d (diff)
[trunk] Remove some warnings about missing prototypes (gcc)
Diffstat (limited to 'tests/test_tile_decoder.c')
-rw-r--r--tests/test_tile_decoder.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_tile_decoder.c b/tests/test_tile_decoder.c
index 8ff7ad28..6691cd4e 100644
--- a/tests/test_tile_decoder.c
+++ b/tests/test_tile_decoder.c
@@ -139,35 +139,35 @@ static int infile_format(const char *fname)
/**
sample error callback expecting a FILE* client object
*/
-void error_callback_file(const char *msg, void *client_data) {
+static void error_callback_file(const char *msg, void *client_data) {
FILE *stream = (FILE*)client_data;
fprintf(stream, "[ERROR] %s", msg);
}
/**
sample warning callback expecting a FILE* client object
*/
-void warning_callback_file(const char *msg, void *client_data) {
+static void warning_callback_file(const char *msg, void *client_data) {
FILE *stream = (FILE*)client_data;
fprintf(stream, "[WARNING] %s", msg);
}
/**
sample error debug callback expecting no client object
*/
-void error_callback(const char *msg, void *client_data) {
+static void error_callback(const char *msg, void *client_data) {
(void)client_data;
fprintf(stdout, "[ERROR] %s", msg);
}
/**
sample warning debug callback expecting no client object
*/
-void warning_callback(const char *msg, void *client_data) {
+static void warning_callback(const char *msg, void *client_data) {
(void)client_data;
fprintf(stdout, "[WARNING] %s", msg);
}
/**
sample debug callback expecting no client object
*/
-void info_callback(const char *msg, void *client_data) {
+static void info_callback(const char *msg, void *client_data) {
(void)client_data;
fprintf(stdout, "[INFO] %s", msg);
}