diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-30 04:10:24 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-12-30 04:10:24 +0000 |
commit | 7b4835b12976c14ce41ba934e6dafb0aa087b4f5 (patch) | |
tree | d1bf5a49f1fedb6f2f245e29135b37e8960cc3a0 /lib/librthread | |
parent | 2ab20d7f6f8feecc4b8b7721e4c6e944e94804a4 (diff) |
__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/librthread')
-rw-r--r-- | lib/librthread/rthread.c | 4 |
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 *); |