From: "Vladimir N. Oleynik" Date: Tue, 28 Feb 2006 10:15:42 +0000 (-0000) Subject: more busybox's style: close bug 745 X-Git-Tag: 1_1_0~137 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c2b238b3a99442d6445faf881e1557413e044c6;p=oweals%2Fbusybox.git more busybox's style: close bug 745 --- 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)