summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2005-12-30 04:10:23 +0000
committertedu <tedu@openbsd.org>2005-12-30 04:10:23 +0000
commit054e9df10a3d65cf8f726257aa343129e69af2fc (patch)
tree569771bbee2ac46d30623f2b8eb39924538cb907 /lib
parentrebuild (diff)
downloadwireguard-openbsd-054e9df10a3d65cf8f726257aa343129e69af2fc.tar.xz
wireguard-openbsd-054e9df10a3d65cf8f726257aa343129e69af2fc.zip
__aligned__ isn't really necessary on the struct, an aligned member
will make the right thing happen. verified by kettenis and drahn
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/rthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c
index 8e027f53d16..00fe3bfb186 100644
--- a/lib/librthread/rthread.c
+++ b/lib/librthread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.21 2005/12/30 04:05:55 tedu Exp $ */
+/* $OpenBSD: rthread.c,v 1.22 2005/12/30 04:10:23 tedu Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -43,7 +43,7 @@ static pthread_t thread_list;
static _spinlock_lock_t thread_lock = _SPINLOCK_UNLOCKED;
static int concurrency_level; /* not used */
-struct pthread _initial_thread __attribute__((__aligned__(16)));
+struct pthread _initial_thread;
int rfork_thread(int, void *, void (*)(void *), void *);