From 5c2b238b3a99442d6445faf881e1557413e044c6 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Tue, 28 Feb 2006 10:15:42 +0000 Subject: more busybox's style: close bug 745 --- coreutils/cal.c | 6 +++--- coreutils/printf.c | 6 +++--- 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 #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) -- cgit v1.2.3