summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-09-07 18:49:00 -0700
committerOri Bernstein <ori@eigenstate.org>2020-09-07 18:49:00 -0700
commit4a1186ddfe422c94f16e0d21efda599bb4556355 (patch)
tree115b13819d80534411c1e04998eaef9452ce1c3f /sys/man/2
parent693485e9c4eab63cf46f38783c2e5f8097ae2bc9 (diff)
tmdate(2): fix name of tm struct
There was a leftover from when this library was separate with different types.
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/tmdate4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/2/tmdate b/sys/man/2/tmdate
index 2b59649e6..2f4f711ea 100644
--- a/sys/man/2/tmdate
+++ b/sys/man/2/tmdate
@@ -9,10 +9,10 @@ tmnow, tzload, tmtime, tmparse, tmfmt, tmnorm - convert date and time
.ft L
.nf
.EX
-typedef struct Tmd Tmd;
+typedef struct Tm Tm;
typedef struct Tmfmt Tmfmt;
-struct {
+struct Tm {
int nsec; /* nanoseconds (range 0..1e9) */
int sec; /* seconds (range 0..59) */
int min; /* minutes (0..59) */