]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
logger: remove use of __P
authorJeremy Huntwork <jhuntwork@lightcubesolutions.com>
Sun, 13 May 2012 16:31:48 +0000 (16:31 +0000)
committerKarel Zak <kzak@redhat.com>
Thu, 24 May 2012 10:25:12 +0000 (12:25 +0200)
Its intended usage was to support pre-ANSI C compilers, but that is
not even possible with the modern-day codebase.  Moreover, it breaks
compiling on libcs that do not define this legacy
implementation-internal macro.

misc-utils/logger.c

index c89fca70a505f5ccd2d34bff2561269eac7e17aa..0ae4324dd71dc0ec18c2f5ee63f562ea163c05bf 100644 (file)
@@ -58,8 +58,8 @@
 #define        SYSLOG_NAMES
 #include <syslog.h>
 
-int    decode __P((char *, CODE *));
-int    pencode __P((char *));
+int    decode (char *, CODE *);
+int    pencode (char *);
 
 static int optd = 0;
 static int udpport = 514;