diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 15:47:56 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 15:47:56 +0000 |
| commit | 98682e1073211000495aa378e7da5bfb69b225c9 (patch) | |
| tree | f0879b27e100b989183e787898e52ecd23396751 /src/bin/mj2/opj_mj2_wrap.c | |
| parent | d6bcb8b7e074c4543ee0243b355f8b3ff0566c9d (diff) | |
[trunk] Remove some warnings about missing prototypes (gcc)
Diffstat (limited to 'src/bin/mj2/opj_mj2_wrap.c')
| -rw-r--r-- | src/bin/mj2/opj_mj2_wrap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/mj2/opj_mj2_wrap.c b/src/bin/mj2/opj_mj2_wrap.c index efc08d3d..f0404f89 100644 --- a/src/bin/mj2/opj_mj2_wrap.c +++ b/src/bin/mj2/opj_mj2_wrap.c @@ -183,21 +183,21 @@ fin: /** sample error callback expecting a FILE* client object */ -void error_callback(const char *msg, void *client_data) { +static void error_callback(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(const char *msg, void *client_data) { +static void warning_callback(const char *msg, void *client_data) { FILE *stream = (FILE*)client_data; fprintf(stream, "[WARNING] %s", msg); } /** sample debug callback expecting a FILE* client object */ -void info_callback(const char *msg, void *client_data) { +static void info_callback(const char *msg, void *client_data) { FILE *stream = (FILE*)client_data; fprintf(stream, "[INFO] %s", msg); } |
