diff options
| author | Alexander Barton <alex@barton.de> | 2009-01-05 13:53:33 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2009-01-05 13:53:33 +0100 |
| commit | a11e895045a52f4b57cfc69a8f051af6f0c25997 (patch) | |
| tree | 61e0c4ba3f6d5404e55b14504c2c2e296424c23c | |
| parent | 175f0af979bfdb6dfde1535dd7de6a452cf98e32 (diff) | |
| download | ngircd-a11e895045a52f4b57cfc69a8f051af6f0c25997.tar.gz ngircd-a11e895045a52f4b57cfc69a8f051af6f0c25997.zip | |
Rename Channel_Free() to Free_Channel(), it is a local function
| -rw-r--r-- | src/ngircd/channel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 9a59712a..8caa81a0 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -58,7 +58,7 @@ static bool Remove_Client PARAMS(( int Type, CHANNEL *Chan, CLIENT *Client, CLIE static CL2CHAN *Get_First_Cl2Chan PARAMS(( CLIENT *Client, CHANNEL *Chan )); static CL2CHAN *Get_Next_Cl2Chan PARAMS(( CL2CHAN *Start, CLIENT *Client, CHANNEL *Chan )); static void Delete_Channel PARAMS(( CHANNEL *Chan )); -static void Channel_Free PARAMS(( CHANNEL *Chan )); +static void Free_Channel PARAMS(( CHANNEL *Chan )); GLOBAL void @@ -148,7 +148,7 @@ Channel_InitPredefined( void ) static void -Channel_Free(CHANNEL *chan) +Free_Channel(CHANNEL *chan) { array_free(&chan->topic); Lists_Free(&chan->list_bans); @@ -168,7 +168,7 @@ Channel_Exit( void ) c = My_Channels; while (c) { c_next = c->next; - Channel_Free(c); + Free_Channel(c); c = c_next; } @@ -1104,7 +1104,7 @@ Delete_Channel(CHANNEL *Chan) My_Channels = chan->next; LogDebug("Freed channel structure for \"%s\".", Chan->name); - Channel_Free(Chan); + Free_Channel(Chan); } /* Delete_Channel */ |