more busybox's style: close bug 745
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -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); | |
| @@ -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) | |