From 596bc096b02ef94efe3d73bb747c6ab0368f63bf Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 24 Oct 2010 21:48:32 +0200 Subject: Make sourcecode compatible with ansi2knr again This allows to compile ngIRCd using a pre-ANSI K&R C compiler again: all source files are automatically converted by the included ansi2knr program (of GNU automake/autoconf) before compiling them with the K&R C compiler, but a few coding standards must be met. Tested on Apple A/UX 3.x. Regression testing on Linux and Mac OS X. --- src/tool/tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tool/tool.c') diff --git a/src/tool/tool.c b/src/tool/tool.c index 9e290749..dbdb49a2 100644 --- a/src/tool/tool.c +++ b/src/tool/tool.c @@ -186,8 +186,8 @@ CODE facilitynames[] = { #endif -GLOBAL const char -*ngt_SyslogFacilityName(int Facility) +GLOBAL const char* +ngt_SyslogFacilityName(int Facility) { int i = 0; while(facilitynames[i].c_name) { -- cgit 1.4.1