diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-12 13:34:13 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-04-12 13:34:13 +0000 |
commit | 0da9052a215d9946b1e354ca530256ecfff9c800 (patch) | |
tree | 402ac4d2d3fef810fdd89c2a7cc7f6c7e86bfbea /lib/librthread/rthread_np.c | |
parent | 20ac0c566f21305af8bb455e18d3fb3d34863611 (diff) |
make rthreads compile again
pthreads header changed, char * -> const char *
Diffstat (limited to 'lib/librthread/rthread_np.c')
-rw-r--r-- | lib/librthread/rthread_np.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread_np.c b/lib/librthread/rthread_np.c index 9fa5dba1537..d4388fff479 100644 --- a/lib/librthread/rthread_np.c +++ b/lib/librthread/rthread_np.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_np.c,v 1.3 2006/01/01 18:53:25 otto Exp $ */ +/* $OpenBSD: rthread_np.c,v 1.4 2006/04/12 13:34:12 henning Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org> * Copyright (c) 2005 Otto Moerbeek <otto@openbsd.org> @@ -33,7 +33,7 @@ #include "rthread.h" void -pthread_set_name_np(pthread_t thread, char *name) +pthread_set_name_np(pthread_t thread, const char *name) { strlcpy(thread->name, name, sizeof(thread->name)); } |