Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and

most probably other older C compilers on other systems.
This commit is contained in:
Alexander Barton 2004-10-20 13:47:32 +00:00
parent eee2762852
commit c1f32e8214
5 changed files with 27 additions and 9 deletions

View File

@ -12,6 +12,8 @@
ngIRCd CVSHEAD
- Made ngIRCd compile on HP/UX 10.20 with native HP pre-ANSI C compiler and
most probably other older C compilers on other systems.
- Fixed wrong variable names in output of "ngircd --configtest".
- Debian: Fxied the name of the "default file" in the init script for
ngircd-full packages. And do the test if the binary is executable after
@ -543,4 +545,4 @@ ngIRCd 0.0.1, 31.12.2001
--
$Id: ChangeLog,v 1.242 2004/09/24 18:00:40 alex Exp $
$Id: ChangeLog,v 1.243 2004/10/20 13:47:32 alex Exp $

View File

@ -14,12 +14,16 @@
#include "portab.h"
static char UNUSED id[] = "$Id: conf.c,v 1.65 2004/09/24 18:00:40 alex Exp $";
static char UNUSED id[] = "$Id: conf.c,v 1.66 2004/10/20 13:47:32 alex Exp $";
#include "imp.h"
#include <assert.h>
#include <errno.h>
#include <stdarg.h>
#ifdef PROTOTYPES
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -16,11 +16,15 @@
#include "portab.h"
static char UNUSED id[] = "$Id: conn.c,v 1.139 2004/10/04 23:23:41 alex Exp $";
static char UNUSED id[] = "$Id: conn.c,v 1.140 2004/10/20 13:47:32 alex Exp $";
#include "imp.h"
#include <assert.h>
#include <stdarg.h>
#ifdef PROTOTYPES
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>

View File

@ -14,11 +14,15 @@
#include "portab.h"
static char UNUSED id[] = "$Id: irc-write.c,v 1.15 2003/11/05 23:24:48 alex Exp $";
static char UNUSED id[] = "$Id: irc-write.c,v 1.16 2004/10/20 13:47:32 alex Exp $";
#include "imp.h"
#include <assert.h>
#include <stdarg.h>
#ifdef PROTOTYPES
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include <stdio.h>
#include <string.h>

View File

@ -14,12 +14,16 @@
#include "portab.h"
static char UNUSED id[] = "$Id: log.c,v 1.47 2004/06/26 08:50:44 alex Exp $";
static char UNUSED id[] = "$Id: log.c,v 1.48 2004/10/20 13:47:32 alex Exp $";
#include "imp.h"
#include <assert.h>
#include <errno.h>
#include <stdarg.h>
#ifdef PROTOTYPES
# include <stdarg.h>
#else
# include <varargs.h>
#endif
#include <stdio.h>
#include <string.h>
#include <sys/types.h>