diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 04:57:31 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-27 04:57:31 +0000 |
commit | bc4be58ab67e872bea5634822d18ed45dc1ac6c2 (patch) | |
tree | 3a290391aed7860e83bc1485361364d7ae404ab8 /sys | |
parent | 915ee06e98567db219fe604312abb6062d4a866f (diff) |
Declare lseek() instead of assuming it'll be provided elsewhere
ok deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/lib/libsa/stand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h index abc95875614..590f7c06089 100644 --- a/sys/lib/libsa/stand.h +++ b/sys/lib/libsa/stand.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stand.h,v 1.62 2015/11/16 19:33:52 miod Exp $ */ +/* $OpenBSD: stand.h,v 1.63 2016/08/27 04:57:30 guenther Exp $ */ /* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */ /*- @@ -163,6 +163,7 @@ ssize_t read(int, void *, size_t); ssize_t write(int, void *, size_t); int stat(const char *path, struct stat *sb); int fstat(int fd, struct stat *sb); +off_t lseek(int, off_t, int); int opendir(const char *); int readdir(int, char *); void closedir(int); |