From fcfe59c1f2219408ac2a9cd84b386816ff252221 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 11 Jun 2022 16:37:09 +0200 Subject: Fix warnings, replace some static inline with inline + extern inline, and fix glibc support --- man3/libsimple_localtime.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man3/libsimple_localtime.3') diff --git a/man3/libsimple_localtime.3 b/man3/libsimple_localtime.3 index 0f6aa19..18e0375 100644 --- a/man3/libsimple_localtime.3 +++ b/man3/libsimple_localtime.3 @@ -7,8 +7,8 @@ libsimple_localtime \- get the current local time with leap second adjustment #include int libsimple_localtime(struct tm *\fItm\fP, struct timespec *\fIts\fP); -static inline void libsimple_enlocaltime(int \fIstatus\fPstruct tm *\fItm\fP, struct timespec *\fIts\fP); -static inline void libsimple_elocaltime(struct tm *\fItm\fP, struct timespec *\fIts\fP); +inline void libsimple_enlocaltime(int \fIstatus\fPstruct tm *\fItm\fP, struct timespec *\fIts\fP); +inline void libsimple_elocaltime(struct tm *\fItm\fP, struct timespec *\fIts\fP); .fi .PP Link with -- cgit v1.2.3-70-g09d2 From 654d93df3977e970936007126220393b08981379 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 4 Jul 2023 18:06:49 +0200 Subject: libsimple_localtime.3: fix formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man3/libsimple_localtime.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'man3/libsimple_localtime.3') diff --git a/man3/libsimple_localtime.3 b/man3/libsimple_localtime.3 index 18e0375..f23bbb1 100644 --- a/man3/libsimple_localtime.3 +++ b/man3/libsimple_localtime.3 @@ -7,7 +7,7 @@ libsimple_localtime \- get the current local time with leap second adjustment #include int libsimple_localtime(struct tm *\fItm\fP, struct timespec *\fIts\fP); -inline void libsimple_enlocaltime(int \fIstatus\fPstruct tm *\fItm\fP, struct timespec *\fIts\fP); +inline void libsimple_enlocaltime(int \fIstatus\fP, struct tm *\fItm\fP, struct timespec *\fIts\fP); inline void libsimple_elocaltime(struct tm *\fItm\fP, struct timespec *\fIts\fP); .fi .PP @@ -33,7 +33,7 @@ On failure, the process's exit value will be if the .BR libsimple_enlocaltime () function is used or -.IR libsimple_default_failure_exit (3) +.BR libsimple_default_failure_exit (3) if the .BR libsimple_elocaltime () fucntion is used. @@ -49,9 +49,9 @@ is .IR NULL . .I tm may -.I not +.B not be -.RI NULL . +.IR NULL . .SH RETURN VALUE The -- cgit v1.2.3-70-g09d2