diff options
| author | 2020-01-22 08:17:01 +0000 | |
|---|---|---|
| committer | 2020-01-22 08:17:01 +0000 | |
| commit | 11ade654bad3030fdabca0dad443d1adc2222a94 (patch) | |
| tree | ed55acab30485c6b0d532f8142b5f5ea79010b47 /usr.sbin/bind/lib/isc/unix/stdio.c | |
| parent | remove defines from config.h.in that are no longer checked in the code (diff) | |
| download | wireguard-openbsd-11ade654bad3030fdabca0dad443d1adc2222a94.tar.xz wireguard-openbsd-11ade654bad3030fdabca0dad443d1adc2222a94.zip | |
unifdef a few features we have. ok florian
Diffstat (limited to 'usr.sbin/bind/lib/isc/unix/stdio.c')
| -rw-r--r-- | usr.sbin/bind/lib/isc/unix/stdio.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/bind/lib/isc/unix/stdio.c b/usr.sbin/bind/lib/isc/unix/stdio.c index 3cd4f5e1fdb..09b203b8025 100644 --- a/usr.sbin/bind/lib/isc/unix/stdio.c +++ b/usr.sbin/bind/lib/isc/unix/stdio.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: stdio.c,v 1.3 2019/12/17 01:46:37 sthen Exp $ */ +/* $Id: stdio.c,v 1.4 2020/01/22 08:17:01 tedu Exp $ */ #include <config.h> @@ -53,11 +53,7 @@ isc_result_t isc_stdio_seek(FILE *f, off_t offset, int whence) { int r; -#ifdef HAVE_FSEEKO r = fseeko(f, offset, whence); -#else - r = fseek(f, offset, whence); -#endif if (r == 0) return (ISC_R_SUCCESS); else @@ -70,11 +66,7 @@ isc_stdio_tell(FILE *f, off_t *offsetp) { REQUIRE(offsetp != NULL); -#ifdef HAVE_FTELLO r = ftello(f); -#else - r = ftell(f); -#endif if (r >= 0) { *offsetp = r; return (ISC_R_SUCCESS); |
