From 57c7e2362284c8c9937f32944ec985b53b1b07d6 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sat, 17 Jan 2004 03:17:49 +0000 Subject: [PATCH] Added #include for strings.h to fix compiler warnings. --- src/ngircd/channel.c | 3 ++- src/ngircd/client.c | 3 ++- src/ngircd/irc-info.c | 3 ++- src/ngircd/irc-login.c | 3 ++- src/ngircd/irc-server.c | 3 ++- src/ngircd/lists.c | 3 ++- src/ngircd/parse.c | 3 ++- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 3c740ff0..57ca90a3 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -17,12 +17,13 @@ #include "portab.h" -static char UNUSED id[] = "$Id: channel.c,v 1.43 2003/11/06 01:07:44 alex Exp $"; +static char UNUSED id[] = "$Id: channel.c,v 1.44 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include #include #include +#include #include "conn-func.h" #include "client.h" diff --git a/src/ngircd/client.c b/src/ngircd/client.c index 5260f146..00f9cc6c 100644 --- a/src/ngircd/client.c +++ b/src/ngircd/client.c @@ -17,7 +17,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: client.c,v 1.74 2003/03/31 15:54:21 alex Exp $"; +static char UNUSED id[] = "$Id: client.c,v 1.75 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include @@ -25,6 +25,7 @@ static char UNUSED id[] = "$Id: client.c,v 1.74 2003/03/31 15:54:21 alex Exp $"; #include #include #include +#include #include #include "conn.h" diff --git a/src/ngircd/irc-info.c b/src/ngircd/irc-info.c index 6d81b24f..59d04dd1 100644 --- a/src/ngircd/irc-info.c +++ b/src/ngircd/irc-info.c @@ -14,13 +14,14 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-info.c,v 1.20 2003/12/26 15:55:07 alex Exp $"; +static char UNUSED id[] = "$Id: irc-info.c,v 1.21 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include #include #include #include +#include #include "ngircd.h" #include "cvs-version.h" diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 10188c5e..185dd124 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -14,13 +14,14 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-login.c,v 1.37 2003/12/27 13:01:12 alex Exp $"; +static char UNUSED id[] = "$Id: irc-login.c,v 1.38 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include #include #include #include +#include #include "ngircd.h" #include "resolve.h" diff --git a/src/ngircd/irc-server.c b/src/ngircd/irc-server.c index 694da656..59a2ec80 100644 --- a/src/ngircd/irc-server.c +++ b/src/ngircd/irc-server.c @@ -14,13 +14,14 @@ #include "portab.h" -static char UNUSED id[] = "$Id: irc-server.c,v 1.34 2003/12/26 15:55:07 alex Exp $"; +static char UNUSED id[] = "$Id: irc-server.c,v 1.35 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include #include #include #include +#include #include "resolve.h" #include "conn.h" diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index f6e710c6..cc0538e9 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: lists.c,v 1.11 2002/12/26 16:25:43 alex Exp $"; +static char UNUSED id[] = "$Id: lists.c,v 1.12 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include @@ -30,6 +30,7 @@ static char UNUSED id[] = "$Id: lists.c,v 1.11 2002/12/26 16:25:43 alex Exp $"; #include #include +#include #include "exp.h" #include "lists.h" diff --git a/src/ngircd/parse.c b/src/ngircd/parse.c index 1857e726..a470dff2 100644 --- a/src/ngircd/parse.c +++ b/src/ngircd/parse.c @@ -14,13 +14,14 @@ #include "portab.h" -static char UNUSED id[] = "$Id: parse.c,v 1.59 2003/01/15 13:49:20 alex Exp $"; +static char UNUSED id[] = "$Id: parse.c,v 1.60 2004/01/17 03:17:49 alex Exp $"; #include "imp.h" #include #include #include #include +#include #include "ngircd.h" #include "defines.h"