diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-27 06:09:14 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-09-27 06:09:14 +0000 |
commit | 0980dfcba845cc9cf5332c7f9b374e1ed88b56f5 (patch) | |
tree | ac0aa60ed9e041d7c315e045debb058f25254279 /epan/except.h | |
parent | 052043ea3661c2867aa542690e6858c440f8afff (diff) |
get rid of warnings about qualifier discarding
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16017 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/except.h')
-rw-r--r-- | epan/except.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/except.h b/epan/except.h index 741cd0eabe..378441df47 100644 --- a/epan/except.h +++ b/epan/except.h @@ -51,7 +51,7 @@ typedef struct { typedef struct { except_id_t volatile except_id; - char *volatile except_message; + const char *volatile except_message; void *volatile except_dyndata; } except_t; @@ -91,13 +91,13 @@ extern struct except_stacknode *except_pop(void); extern int except_init(void); extern void except_deinit(void); extern void except_rethrow(except_t *); -extern void except_throw(long, long, char *); -extern void except_throwd(long, long, char *, void *); +extern void except_throw(long, long, const char *); +extern void except_throwd(long, long, const char *, void *); extern void except_throwf(long, long, const char *, ...); extern void (*except_unhandled_catcher(void (*)(except_t *)))(except_t *); extern unsigned long except_code(except_t *); extern unsigned long except_group(except_t *); -extern char *except_message(except_t *); +extern const char *except_message(except_t *); extern void *except_data(except_t *); extern void *except_take_data(except_t *); extern void except_set_allocator(void *(*)(size_t), void (*)(void *)); |