From: Jeremy Huntwork Date: Sun, 13 May 2012 16:31:48 +0000 (+0000) Subject: Remove use of __P. Its intended usage was to support pre-ANSI C compilers, but that... X-Git-Tag: v2.22-rc1~391^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c935e725eed69edde5ac0db1cce6ab2123dd57a;p=thirdparty%2Futil-linux.git Remove use of __P. 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. --- diff --git a/misc-utils/logger.c b/misc-utils/logger.c index e3b67d2a20..2ab76df10f 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -59,8 +59,8 @@ #define SYSLOG_NAMES #include -int decode __P((char *, CODE *)); -int pencode __P((char *)); +int decode (char *, CODE *); +int pencode (char *); static int optd = 0; static int udpport = 514;