diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-11 17:34:41 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-11 17:34:41 +0000 |
commit | f4a54d2f96562e7ba54b45e976b3de1ab8f204df (patch) | |
tree | ace7c21f608e2b726e09b134d1a02ed955afce7f /src/whowas.c | |
parent | a7e6544569aff97f362030000b72330b4fa2fa48 (diff) |
- Mostly style cleanups & whitespace changes
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1996 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/whowas.c')
-rw-r--r-- | src/whowas.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/whowas.c b/src/whowas.c index 0a19446..2df8933 100644 --- a/src/whowas.c +++ b/src/whowas.c @@ -36,6 +36,15 @@ dlink_list WHOWASHASH[HASHSIZE]; void +whowas_init(void) +{ + unsigned int idx; + + for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx) + WHOWAS[idx].hashv = -1; +} + +void add_history(struct Client *client_p, const int online) { static unsigned int whowas_next = 0; @@ -131,12 +140,3 @@ count_whowas_memory(unsigned int *wwu, uint64_t *wwum) *wwu = u; *wwum = um; } - -void -whowas_init(void) -{ - unsigned int idx; - - for (idx = 0; idx < NICKNAMEHISTORYLENGTH; ++idx) - WHOWAS[idx].hashv = -1; -} |