Module Name: src
Committed By: njoly
Date: Thu Dec 9 09:22:31 UTC 2010
Modified Files:
src/lib/libc/time: ctime.3
Log Message:
Convert a few macros to Vt (variable type).
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/time/ctime.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/time/ctime.3
diff -u src/lib/libc/time/ctime.3:1.34 src/lib/libc/time/ctime.3:1.35
--- src/lib/libc/time/ctime.3:1.34 Wed Oct 27 19:18:00 2010
+++ src/lib/libc/time/ctime.3 Thu Dec 9 09:22:31 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctime.3,v 1.34 2010/10/27 19:18:00 wiz Exp $
+.\" $NetBSD: ctime.3,v 1.35 2010/12/09 09:22:31 njoly Exp $
.Dd October 27, 2010
.Dt CTIME 3
.Os
@@ -18,7 +18,7 @@
.Lb libc
.Sh SYNOPSIS
.In time.h
-.Dv extern char *tzname[2];
+.Vt extern char *tzname[2];
.Ft char *
.Fn ctime "const time_t *clock"
.Ft char *
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
.Fn ctime
converts a
-.Tp time_t ,
+.Vt time_t ,
pointed to by
.Fa clock ,
representing the time in seconds since
@@ -235,7 +235,7 @@
The
.Fn mktime
function returns the specified time since the Epoch as a
-.Va time_t
+.Vt time_t
type value.
If the time cannot be represented, then
.Fn mktime