aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
author"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-28 10:15:42 +0000
committer"Vladimir N. Oleynik" <dzo@simtreas.ru>2006-02-28 10:15:42 +0000
commit5c2b238b3a99442d6445faf881e1557413e044c6 (patch)
tree89ac3d4937ef80b252c15af639ceab67d6a11873 /coreutils
parent716bbe96d47f61cf20ac9298d0911be522eefe98 (diff)
downloadbusybox-5c2b238b3a99442d6445faf881e1557413e044c6.tar.gz
more busybox's style: close bug 745
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)