diff options
Diffstat (limited to 'lib/libc/stdtime')
| -rw-r--r-- | lib/libc/stdtime/strftime.3 | 6 | ||||
| -rw-r--r-- | lib/libc/stdtime/strftime.c | 8 | ||||
| -rw-r--r-- | lib/libc/stdtime/strptime.3 | 6 | ||||
| -rw-r--r-- | lib/libc/stdtime/strptime.c | 4 | 
4 files changed, 12 insertions, 12 deletions
| diff --git a/lib/libc/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3 index 08e17d0485ea..7e71df53dc24 100644 --- a/lib/libc/stdtime/strftime.3 +++ b/lib/libc/stdtime/strftime.3 @@ -48,10 +48,10 @@  .In time.h  .Ft size_t  .Fo strftime -.Fa "char *restrict buf" +.Fa "char * restrict buf"  .Fa "size_t maxsize" -.Fa "const char *restrict format" -.Fa "const struct tm *restrict timeptr" +.Fa "const char * restrict format" +.Fa "const struct tm * restrict timeptr"  .Fc  .Sh DESCRIPTION  The diff --git a/lib/libc/stdtime/strftime.c b/lib/libc/stdtime/strftime.c index ab50bdcf6ab2..434557e5dd0d 100644 --- a/lib/libc/stdtime/strftime.c +++ b/lib/libc/stdtime/strftime.c @@ -44,14 +44,14 @@ static char *	_add(const char *, char *, const char *);  static char *	_conv(int, const char *, char *, const char *);  static char *	_fmt(const char *, const struct tm *, char *, const char *); -size_t strftime(char *__restrict, size_t, const char *__restrict, -    const struct tm *__restrict); +size_t strftime(char * __restrict, size_t, const char * __restrict, +    const struct tm * __restrict);  extern char *	tzname[];  size_t -strftime(char *__restrict s, size_t maxsize, const char *__restrict format, -    const struct tm *__restrict t) +strftime(char * __restrict s, size_t maxsize, const char * __restrict format, +    const struct tm * __restrict t)  {  	char *p; diff --git a/lib/libc/stdtime/strptime.3 b/lib/libc/stdtime/strptime.3 index c3f55cf73098..91b810fc14ff 100644 --- a/lib/libc/stdtime/strptime.3 +++ b/lib/libc/stdtime/strptime.3 @@ -37,9 +37,9 @@  .In time.h  .Ft char *  .Fo strptime -.Fa "const char *restrict buf" -.Fa "const char *restrict format" -.Fa "struct tm *restrict timeptr" +.Fa "const char * restrict buf" +.Fa "const char * restrict format" +.Fa "struct tm * restrict timeptr"  .Fc  .Sh DESCRIPTION  The diff --git a/lib/libc/stdtime/strptime.c b/lib/libc/stdtime/strptime.c index be844820df31..edb0d3c83d03 100644 --- a/lib/libc/stdtime/strptime.c +++ b/lib/libc/stdtime/strptime.c @@ -517,8 +517,8 @@ label:  char * -strptime(const char *__restrict buf, const char *__restrict fmt, -    struct tm *__restrict tm) +strptime(const char * __restrict buf, const char * __restrict fmt, +    struct tm * __restrict tm)  {  	char *ret; | 
