1
0
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:
Bram Matthys
2019-03-27 09:03:30 +01:00
parent 5a38d8ed75
commit dd2af3b31c
14 changed files with 1765 additions and 658 deletions
+3 -3
View File
@@ -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;