diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-11-16 03:26:01 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-11-16 14:37:33 +1100 |
commit | 2a35862e664afde774d4a72497d394fe7306ccb5 (patch) | |
tree | 501d6d170178b037829003b76cbd32e23e6080bb /misc.h | |
parent | d0d1dfa55be1c5c0d77ab3096b198a64235f936d (diff) |
upstream: use path_absolute() for pathname checks; from Manoj Ampalam
OpenBSD-Commit-ID: 482ce71a5ea5c5f3bc4d00fd719481a6a584d925
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.h,v 1.75 2018/10/03 06:38:35 djm Exp $ */ | 1 | /* $OpenBSD: misc.h,v 1.76 2018/11/16 03:26:01 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -78,6 +78,7 @@ int valid_env_name(const char *); | |||
78 | const char *atoi_err(const char *, int *); | 78 | const char *atoi_err(const char *, int *); |
79 | int parse_absolute_time(const char *, uint64_t *); | 79 | int parse_absolute_time(const char *, uint64_t *); |
80 | void format_absolute_time(uint64_t, char *, size_t); | 80 | void format_absolute_time(uint64_t, char *, size_t); |
81 | int path_absolute(const char *); | ||
81 | 82 | ||
82 | void sock_set_v6only(int); | 83 | void sock_set_v6only(int); |
83 | 84 | ||