From 4a1186ddfe422c94f16e0d21efda599bb4556355 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Mon, 7 Sep 2020 18:49:00 -0700 Subject: tmdate(2): fix name of tm struct There was a leftover from when this library was separate with different types. --- sys/man/2/tmdate | 4 ++-- 1 file 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) */ -- cgit v1.2.3