summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-07-06 18:12:50 +0000
committermiod <miod@openbsd.org>2006-07-06 18:12:50 +0000
commit7dc5285aa3c57b3e33771d0b104cb0c09027ca8c (patch)
tree407be974bef2d4db8badd20acd4bb2c166350845 /sys
parentMake dummy $g0 in ddb the right size. (diff)
downloadwireguard-openbsd-7dc5285aa3c57b3e33771d0b104cb0c09027ca8c.tar.xz
wireguard-openbsd-7dc5285aa3c57b3e33771d0b104cb0c09027ca8c.zip
ALIGNED_POINTER is defined on all platforms.
Diffstat (limited to 'sys')
-rw-r--r--sys/ddb/db_aout.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/ddb/db_aout.c b/sys/ddb/db_aout.c
index cc1a5e3ec75..a5fe2a6563c 100644
--- a/sys/ddb/db_aout.c
+++ b/sys/ddb/db_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_aout.c,v 1.29 2006/03/13 06:23:20 jsg Exp $ */
+/* $OpenBSD: db_aout.c,v 1.30 2006/07/06 18:12:50 miod Exp $ */
/* $NetBSD: db_aout.c,v 1.29 2000/07/07 21:55:18 jhawk Exp $ */
/*
@@ -83,11 +83,6 @@ static int slen;
#define X_db_getname(t, s) (s->n_un.n_strx ? t->end + s->n_un.n_strx : NULL)
-/* XXX */
-#ifndef ALIGNED_POINTER
-#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0)
-#endif
-
/*
* Find the symbol table and strings; tell ddb about them.
*