diff --git a/fmt_str.c b/fmt_str.c index 48930cf8..423b5ca6 100644 --- a/fmt_str.c +++ b/fmt_str.c @@ -1,7 +1,6 @@ #include "fmt.h" -unsigned int fmt_str(s,t) -register char *s; register char *t; +unsigned int fmt_str(char *s, char *t) { register unsigned int len; char ch; diff --git a/fmt_strn.c b/fmt_strn.c index 3ef58a64..03be4c07 100644 --- a/fmt_strn.c +++ b/fmt_strn.c @@ -1,7 +1,6 @@ #include "fmt.h" -unsigned int fmt_strn(s,t,n) -register char *s; register char *t; register unsigned int n; +unsigned int fmt_strn(char *s, char *t, unsigned int n) { register unsigned int len; char ch; diff --git a/fmt_uint.c b/fmt_uint.c index 8595be8c..ab344317 100644 --- a/fmt_uint.c +++ b/fmt_uint.c @@ -1,6 +1,6 @@ #include "fmt.h" -unsigned int fmt_uint(s,u) register char *s; register unsigned int u; +unsigned int fmt_uint(char *s, unsigned int u) { register unsigned long l; l = u; return fmt_ulong(s,l); } diff --git a/fmt_uint0.c b/fmt_uint0.c index 81705f64..7abb3067 100644 --- a/fmt_uint0.c +++ b/fmt_uint0.c @@ -1,6 +1,6 @@ #include "fmt.h" -unsigned int fmt_uint0(s,u,n) char *s; unsigned int u; unsigned int n; +unsigned int fmt_uint0(char *s, unsigned int u, unsigned int n) { unsigned int len; len = fmt_uint(FMT_LEN,u); diff --git a/fmt_ulong.c b/fmt_ulong.c index ab12e8c9..0edf9437 100644 --- a/fmt_ulong.c +++ b/fmt_ulong.c @@ -1,6 +1,6 @@ #include "fmt.h" -unsigned int fmt_ulong(s,u) register char *s; register unsigned long u; +unsigned int fmt_ulong(char *s, unsigned long u) { register unsigned int len; register unsigned long q; len = 1; q = u;