summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_access.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-04 02:12:43 +0000
committerru <ru@FreeBSD.org>2005-12-04 02:12:43 +0000
commit522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (patch)
treef3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/ddb/db_access.c
parent7b7fd248389b497235a0e9dcef2aff317880a15b (diff)
downloadFreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.zip
FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.tar.gz
Fix -Wundef.
Diffstat (limited to 'sys/ddb/db_access.c')
-rw-r--r--sys/ddb/db_access.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/ddb/db_access.c b/sys/ddb/db_access.c
index 2d17504..2f4d049 100644
--- a/sys/ddb/db_access.c
+++ b/sys/ddb/db_access.c
@@ -49,6 +49,10 @@ static unsigned db_extend[] = { /* table for sign-extending */
0xFF800000U
};
+#ifndef BYTE_MSF
+#define BYTE_MSF 0
+#endif
+
db_expr_t
db_get_value(addr, size, is_signed)
db_addr_t addr;
OpenPOWER on IntegriCloud