mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 05:43:12 +02:00
Enable additional compiler warnings. Update code to conform to these
new standards, possible to compile with -Werror with them.
This commit is contained in:
+3
-3
@@ -69,7 +69,7 @@ aClient *find_client(char *name, aClient *cptr)
|
||||
return hash_find_client(name, NULL);
|
||||
}
|
||||
|
||||
aClient inline *find_nickserv(char *name, aClient *cptr)
|
||||
aClient *find_nickserv(char *name, aClient *cptr)
|
||||
{
|
||||
if (name)
|
||||
cptr = hash_find_nickserver(name, cptr);
|
||||
@@ -91,7 +91,7 @@ aClient inline *find_nickserv(char *name, aClient *cptr)
|
||||
** the old. 'name' is now assumed to be a null terminated
|
||||
** string.
|
||||
*/
|
||||
aClient inline *find_server(char *name, aClient *cptr)
|
||||
aClient *find_server(char *name, aClient *cptr)
|
||||
{
|
||||
if (name)
|
||||
{
|
||||
@@ -105,7 +105,7 @@ aClient inline *find_server(char *name, aClient *cptr)
|
||||
}
|
||||
|
||||
|
||||
aClient inline *find_name(char *name, aClient *cptr)
|
||||
aClient *find_name(char *name, aClient *cptr)
|
||||
{
|
||||
aClient *c2ptr = cptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user