From 77fe88af15dc59b5595822f70d75082f1ccd34a4 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 16 Sep 2012 00:40:54 +0200 Subject: [PATCH] Const return type for static error messages --- libchimara/resource.c | 2 +- libchimara/resource.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libchimara/resource.c b/libchimara/resource.c index 9c40723..abf0fc3 100644 --- a/libchimara/resource.c +++ b/libchimara/resource.c @@ -114,7 +114,7 @@ giblorb_print_contents(giblorb_map_t *map) } } -gchar* +const char * giblorb_get_error_message(giblorb_err_t err) { switch(err) diff --git a/libchimara/resource.h b/libchimara/resource.h index a732541..6f5b70d 100644 --- a/libchimara/resource.h +++ b/libchimara/resource.h @@ -8,6 +8,6 @@ #include "magic.h" void giblorb_print_contents(giblorb_map_t *map); -gchar* giblorb_get_error_message(giblorb_err_t err); +const char * giblorb_get_error_message(giblorb_err_t err); #endif -- 2.30.2