diff options
Diffstat (limited to 'src/newmail.c')
-rw-r--r-- | src/newmail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newmail.c b/src/newmail.c index 7d513c9..f480500 100644 --- a/src/newmail.c +++ b/src/newmail.c @@ -44,7 +44,7 @@ void* (*nm_realloc)(void *,size_t) = realloc; void (*nm_free)(void *) = free; enum nm_error nm_errno = 0; -char *nm_explanation = 0; +const char *nm_explanation = 0; static void _ltdl_init(int b) { static int n = 0; @@ -61,7 +61,7 @@ static void _ltdl_init(int b) { } -int nm_list(nm_enum_cb_t cb, const void*user) { +int nm_list(nm_enum_cb_t cb, void*user) { static char p[PATH_MAX]; DIR *d; struct dirent *de; @@ -190,7 +190,7 @@ fail: } -int nm_query_submit(struct nm_spool *s, enum nm_query query, oop_source *oop, nm_query_cb_t cb, const void *user) { +int nm_query_submit(struct nm_spool *s, enum nm_query query, oop_source *oop, nm_query_cb_t cb, void *user) { if (!s || !cb || !oop) { nm_error(NM_ERROR_INVPAR, NULL); |