summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2008-10-20 17:17:58 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2008-10-20 17:17:58 +0000
commitdb67f9a9560f36480659cb6e74f1314a4881e09b (patch)
treeaa29d9f68a8109e0e02710acc7407df748f9ecbc /libutil
parent2e2c846326d3b945c9f4012e97701a6099d08e59 (diff)
downloadpw-darwin-db67f9a9560f36480659cb6e74f1314a4881e09b.tar.gz
pw-darwin-db67f9a9560f36480659cb6e74f1314a4881e09b.tar.zst
pw-darwin-db67f9a9560f36480659cb6e74f1314a4881e09b.zip
Since in_lt() and in_lts() are not static, assume that they are intended to
be part of the public API. Accordingly, add prototypes and document them.
Diffstat (limited to 'libutil')
-rw-r--r--libutil/login_cap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libutil/login_cap.h b/libutil/login_cap.h
index 2e3d3e8..082e34b 100644
--- a/libutil/login_cap.h
+++ b/libutil/login_cap.h
@@ -146,8 +146,10 @@ int auth_timeok(login_cap_t *, time_t);
struct tm;
login_time_t parse_lt(const char *);
+int in_lt(const login_time_t *, time_t *);
int in_ltm(const login_time_t *, struct tm *, time_t *);
int in_ltms(const login_time_t *, struct tm *, time_t *);
+int in_lts(const login_time_t *, time_t *);
/* helper functions */