Use server argument instead of from_server in rebuild_notify_ison()
It is only called in one place, where from_server is already set to the same as the argument. Rename rebuild_all_ison() to rebuild_notify_ison_all(). Make rebuild_notify_ison() and rebuild_notify_ison_all() static, they are only called from this file.
This commit is contained in:
@@ -49,8 +49,6 @@ typedef struct notify_alist
|
||||
extern char *get_notify_nicks (int, int, char *, int);
|
||||
void add_delay_notify (int);
|
||||
void notify_count (int, int *, int *);
|
||||
void rebuild_notify_ison (int);
|
||||
void rebuild_all_ison (void);
|
||||
void save_watch(FILE *);
|
||||
BUILT_IN_COMMAND(watchcmd);
|
||||
void show_watch_list (int);
|
||||
|
||||
Reference in New Issue
Block a user