diff options
author | Jeremy Huntwork | 2012-05-13 18:31:48 +0200 |
---|---|---|
committer | Jeremy Huntwork | 2012-05-13 18:32:51 +0200 |
commit | 1c935e725eed69edde5ac0db1cce6ab2123dd57a (patch) | |
tree | ac619f26cd0e346f765b7ad7208123910051e22d /misc-utils | |
parent | tests: update fdisk test (diff) | |
download | kernel-qcow2-util-linux-1c935e725eed69edde5ac0db1cce6ab2123dd57a.tar.gz kernel-qcow2-util-linux-1c935e725eed69edde5ac0db1cce6ab2123dd57a.tar.xz kernel-qcow2-util-linux-1c935e725eed69edde5ac0db1cce6ab2123dd57a.zip |
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.
Diffstat (limited to 'misc-utils')
-rw-r--r-- | misc-utils/logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/logger.c b/misc-utils/logger.c index e3b67d2a2..2ab76df10 100644 --- a/misc-utils/logger.c +++ b/misc-utils/logger.c @@ -59,8 +59,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; |