aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/cal.c6
-rw-r--r--coreutils/printf.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/coreutils/cal.c b/coreutils/cal.c
index d9456ed9e..a134380c3 100644
--- a/coreutils/cal.c
+++ b/coreutils/cal.c
@@ -88,9 +88,9 @@ static int is_leap_year(int year)
#define leap_years_since_year_1(yr) \
((yr) / 4 - centuries_since_1700(yr) + quad_centuries_since_1700(yr))
-static void center __P((char *, int, int));
-static void day_array __P((int, int, int *));
-static void trim_trailing_spaces_and_print __P((char *));
+static void center (char *, int, int);
+static void day_array (int, int, int *);
+static void trim_trailing_spaces_and_print (char *);
static void blank_string(char *buf, size_t buflen);
static char *build_row(char *p, int *dp);
diff --git a/coreutils/printf.c b/coreutils/printf.c
index 1fe68afcb..706fd9c45 100644
--- a/coreutils/printf.c
+++ b/coreutils/printf.c
@@ -49,9 +49,9 @@
#include <assert.h>
#include "busybox.h"
-static int print_formatted __P((char *format, int argc, char **argv));
-static void print_direc __P( (char *start, size_t length,
- int field_width, int precision, char *argument));
+static int print_formatted (char *format, int argc, char **argv);
+static void print_direc (char *start, size_t length,
+ int field_width, int precision, char *argument);
typedef int (*converter)(char *arg, void *result);
void multiconvert(char *arg, void *result, converter convert)