summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/unixdev.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-03-13 00:13:51 +0000
committerderaadt <deraadt@openbsd.org>2011-03-13 00:13:51 +0000
commit214337f8c3680e35c7d0ca8689f5f1b5ab3c8e22 (patch)
tree72cab9aab89aa2299beaa257524021334e4cb301 /sys/lib/libsa/unixdev.h
parentBe more paranoid when attempting to parse an IA record, and make sure we (diff)
downloadwireguard-openbsd-214337f8c3680e35c7d0ca8689f5f1b5ab3c8e22.tar.xz
wireguard-openbsd-214337f8c3680e35c7d0ca8689f5f1b5ab3c8e22.zip
Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw
Diffstat (limited to 'sys/lib/libsa/unixdev.h')
-rw-r--r--sys/lib/libsa/unixdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/unixdev.h b/sys/lib/libsa/unixdev.h
index 9761cdf60b9..c7bc5e56297 100644
--- a/sys/lib/libsa/unixdev.h
+++ b/sys/lib/libsa/unixdev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unixdev.h,v 1.6 2003/06/02 20:20:54 mickey Exp $ */
+/* $OpenBSD: unixdev.h,v 1.7 2011/03/13 00:13:53 deraadt Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff
@@ -29,7 +29,7 @@
/* unixdev.c */
-int unixstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+int unixstrategy(void *, int, daddr32_t, size_t, void *, size_t *);
int unixopen(struct open_file *, ...);
int unixclose(struct open_file *);
int unixioctl(struct open_file *, u_long, void *);