Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/time Fix asctime_r prototype.



details:   https://anonhg.NetBSD.org/src/rev/2f97034e8db0
branches:  trunk
changeset: 349965:2f97034e8db0
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu Dec 29 21:03:51 2016 +0000

description:
Fix asctime_r prototype.

diffstat:

 lib/libc/time/ctime.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r e46e617275c1 -r 2f97034e8db0 lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3     Thu Dec 29 20:59:31 2016 +0000
+++ b/lib/libc/time/ctime.3     Thu Dec 29 21:03:51 2016 +0000
@@ -1,8 +1,8 @@
-.\" $NetBSD: ctime.3,v 1.53 2016/12/22 17:39:28 abhinav Exp $
+.\" $NetBSD: ctime.3,v 1.54 2016/12/29 21:03:51 wiz Exp $
 .\"
 .\" XXX: License missing?
 .\"
-.Dd October 7, 2014
+.Dd December 29, 2016
 .Dt CTIME 3
 .Os
 .Sh NAME
@@ -28,7 +28,7 @@
 .Ft char *
 .Fn asctime "const struct tm *tm"
 .Ft char *
-.Fn asctime_r "const struct tm restrict tm" "char * restrict buf"
+.Fn asctime_r "const struct tm *restrict tm" "char * restrict buf"
 .Ft char *
 .Fn ctime "const time_t *clock"
 .Ft char *



Home | Main Index | Thread Index | Old Index