summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/s_serv.h2
-rw-r--r--include/s_user.h2
-rw-r--r--include/watch.h2
-rw-r--r--include/whowas.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/s_serv.h b/include/s_serv.h
index e1baf82..3d9d224 100644
--- a/include/s_serv.h
+++ b/include/s_serv.h
@@ -84,7 +84,7 @@ struct Capability
extern int valid_servname(const char *);
extern int check_server(const char *, struct Client *);
extern int hunt_server(struct Client *, struct Client *,
- const char *, int, int, char **);
+ const char *, const int, const int, char *[]);
extern void add_capability(const char *, int, int);
extern int delete_capability(const char *);
extern int find_capability(const char *);
diff --git a/include/s_user.h b/include/s_user.h
index a0f167f..135c4ed 100644
--- a/include/s_user.h
+++ b/include/s_user.h
@@ -36,7 +36,7 @@ extern struct Callback *umode_cb;
extern unsigned int user_modes[];
extern void assemble_umode_buffer(void);
-extern void set_user_mode(struct Client *, struct Client *, int, char **);
+extern void set_user_mode(struct Client *, struct Client *, const int, char *[]);
extern void send_umode(struct Client *, struct Client *,
unsigned int, unsigned int, char *);
extern void send_umode_out(struct Client *, struct Client *, unsigned int);
diff --git a/include/watch.h b/include/watch.h
index 21a71dc..8a4e2d8 100644
--- a/include/watch.h
+++ b/include/watch.h
@@ -41,7 +41,7 @@ struct Watch
extern void watch_init(void);
extern void watch_add_to_hash_table(const char *, struct Client *);
extern void watch_del_from_hash_table(const char *, struct Client *);
-extern void watch_check_hash(struct Client *, unsigned int);
+extern void watch_check_hash(struct Client *, const unsigned int);
extern void watch_del_watch_list(struct Client *);
extern void watch_count_memory(unsigned int *const, uint64_t *const);
extern struct Watch *watch_find_hash(const char *);
diff --git a/include/whowas.h b/include/whowas.h
index 3f23ec5..561192c 100644
--- a/include/whowas.h
+++ b/include/whowas.h
@@ -55,7 +55,7 @@ extern void whowas_init(void);
** usually called before changing to a new name (nick).
** Client must be a fully registered user.
*/
-extern void add_history(struct Client *, int);
+extern void add_history(struct Client *, const int);
/*
** off_history