summaryrefslogtreecommitdiff
path: root/lib/libpthread/include
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-09-04 22:17:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-09-04 22:17:46 +0000
commit2544c0965f03f1ad1de37d49854dff96e5b00ed3 (patch)
tree5bdbeb36f6ced3971be84ab3a9d85bdd45530ef3 /lib/libpthread/include
parentb7924acd437f1e99ff98330256cff6136d42ff02 (diff)
put changes back, this time ALL the files.
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r--lib/libpthread/include/spinlock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/include/spinlock.h b/lib/libpthread/include/spinlock.h
index 77605003df0..51dc5fba4de 100644
--- a/lib/libpthread/include/spinlock.h
+++ b/lib/libpthread/include/spinlock.h
@@ -29,8 +29,8 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: spinlock.h,v 1.5 2000/01/06 07:06:42 d Exp $
- * $OpenBSD: spinlock.h,v 1.5 2000/01/06 07:06:42 d Exp $
+ * $Id: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $
+ * $OpenBSD: spinlock.h,v 1.6 2001/09/04 22:17:45 fgsch Exp $
*
* Lock definitions used in both libc and libpthread.
*
@@ -48,7 +48,7 @@
typedef volatile struct {
_spinlock_lock_t access_lock;
void * lock_owner;
- const char * fname;
+ char * fname;
int lineno;
} spinlock_t;
@@ -68,7 +68,7 @@ typedef volatile struct {
*/
__BEGIN_DECLS
void _spinlock __P((spinlock_t *));
-void _spinlock_debug __P((spinlock_t *, const char *, int));
+void _spinlock_debug __P((spinlock_t *, char *, int));
/* lock() functions return 0 if lock was acquired. */
/* is_locked functions() return 1 if lock is locked. */