diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.h | 4 | ||||
-rw-r--r-- | include/s_misc.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/channel.h b/include/channel.h index a922715..564533e 100644 --- a/include/channel.h +++ b/include/channel.h @@ -114,11 +114,11 @@ struct Ban extern dlink_list global_channel_list; -extern int check_channel_name(const char *, int); +extern int check_channel_name(const char *, const int); extern int can_send(struct Channel *, struct Client *, struct Membership *); extern int is_banned(const struct Channel *, const struct Client *); extern int can_join(struct Client *, struct Channel *, const char *); -extern int has_member_flags(struct Membership *, unsigned int); +extern int has_member_flags(const struct Membership *, const unsigned int); extern void remove_ban(struct Ban *, dlink_list *); extern void channel_init(void); diff --git a/include/s_misc.h b/include/s_misc.h index 3c18976..c44344f 100644 --- a/include/s_misc.h +++ b/include/s_misc.h @@ -25,10 +25,10 @@ #ifndef INCLUDED_s_misc_h #define INCLUDED_s_misc_h -extern char *date(time_t); +extern const char *date(time_t); extern const char *smalldate(time_t); #ifdef HAVE_LIBCRYPTO -extern char *ssl_get_cipher(const SSL *); +extern const char *ssl_get_cipher(const SSL *); #endif /* Just blindly define our own MIN/MAX macro */ |