Loading...
stdtime/FreeBSD/strftime.c Libc-1534.40.2 Libc-1583.40.7
--- Libc/Libc-1534.40.2/stdtime/FreeBSD/strftime.c
+++ Libc/Libc-1583.40.7/stdtime/FreeBSD/strftime.c
@@ -138,14 +138,8 @@
 
 #ifndef BUILDING_VARIANT
 __private_extern__ char *
-_fmt(format, t, pt, ptlim, warnp, tptr, loc)
-const char *		format;
-const struct tm * const	t;
-char *			pt;
-const char * const	ptlim;
-int *			warnp;
-struct lc_time_T *	tptr;
-locale_t		loc;
+_fmt(const char *format, const struct tm * const t, char *pt,
+    const char * const ptlim, int *warnp, struct lc_time_T *tptr, locale_t loc)
 {
 	int Ealternative, Oalternative, PadIndex;
 
@@ -594,12 +588,8 @@
 }
 
 static char *
-_conv(n, format, pt, ptlim, loc)
-const int		n;
-const char * const	format;
-char * const		pt;
-const char * const	ptlim;
-locale_t		loc;
+_conv(const int n, const char * const format, char * const pt,
+    const char * const ptlim, locale_t loc)
 {
 	char	buf[INT_STRLEN_MAXIMUM(int) + 1];
 
@@ -608,10 +598,7 @@
 }
 
 static char *
-_add(str, pt, ptlim)
-const char *		str;
-char *			pt;
-const char * const	ptlim;
+_add(const char * str, char * pt, const char * const ptlim)
 {
 	while (pt < ptlim && (*pt = *str++) != '\0')
 		++pt;
@@ -627,14 +614,8 @@
 */
 
 static char *
-_yconv(a, b, convert_top, convert_yy, pt, ptlim, loc)
-const int		a;
-const int		b;
-const int		convert_top;
-const int		convert_yy;
-char *			pt;
-const char * const	ptlim;
-locale_t		loc;
+_yconv(const int a, const int b, const int convert_top, const int convert_yy,
+    char * pt, const char * const ptlim, locale_t loc)
 {
 	register int	lead;
 	register int	trail;