summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-06 11:24:06 +0000
committertjr <tjr@FreeBSD.org>2002-09-06 11:24:06 +0000
commitcd5ca96599d24e7c9375719e86b16b5d3165e931 (patch)
treeee19d604b38f08d225b97c81a641deba71f33d6b /lib/libc/stdtime
parent97acf1a793f3b9951362d9f3125aa7f36755d083 (diff)
downloadFreeBSD-src-cd5ca96599d24e7c9375719e86b16b5d3165e931.zip
FreeBSD-src-cd5ca96599d24e7c9375719e86b16b5d3165e931.tar.gz
Style: One space between "restrict" qualifier and "*".
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/strftime.36
-rw-r--r--lib/libc/stdtime/strftime.c8
-rw-r--r--lib/libc/stdtime/strptime.36
-rw-r--r--lib/libc/stdtime/strptime.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3
index 08e17d0..7e71df5 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 ab50bdc..434557e 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 c3f55cf..91b810f 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 be84482..edb0d3c 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;
OpenPOWER on IntegriCloud