diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-13 19:39:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-13 19:39:47 +0000 |
commit | 353131f269acfe93963294a070ce6bbb110b64a3 (patch) | |
tree | ee4c7a308295fad727ced36ecbbbd8cfdc884bb1 | |
parent | fd8b6623acef2aa191545c0d19959c66b0a4fac1 (diff) |
toby do you even care enough to try to do right?
-rw-r--r-- | sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/xscale/i80321_mutex.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c b/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c index e186a756ca7..9cd5bb4466b 100644 --- a/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c +++ b/sys/arch/arm/s3c2xx0/s3c2xx0_mutex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: s3c2xx0_mutex.c,v 1.2 2009/08/13 13:24:55 weingart Exp $ */ +/* $OpenBSD: s3c2xx0_mutex.c,v 1.3 2009/08/13 19:39:46 deraadt Exp $ */ /* * Copyright (c) 2004 Artur Grabowski <art@openbsd.org> @@ -57,7 +57,7 @@ mtx_enter(struct mutex *mtx) mtx->mtx_lock = 1; } -void +int mtx_enter_try(struct mutex *mtx) { if (mtx->mtx_wantipl != IPL_NONE) diff --git a/sys/arch/arm/xscale/i80321_mutex.c b/sys/arch/arm/xscale/i80321_mutex.c index 9271d29c5ad..ae09878a654 100644 --- a/sys/arch/arm/xscale/i80321_mutex.c +++ b/sys/arch/arm/xscale/i80321_mutex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i80321_mutex.c,v 1.2 2009/08/13 13:24:55 weingart Exp $ */ +/* $OpenBSD: i80321_mutex.c,v 1.3 2009/08/13 19:39:46 deraadt Exp $ */ /* * Copyright (c) 2004 Artur Grabowski <art@openbsd.org> @@ -57,7 +57,7 @@ mtx_enter(struct mutex *mtx) mtx->mtx_lock = 1; } -void +int mtx_enter_try(struct mutex *mtx) { if (mtx->mtx_wantipl != IPL_NONE) |