summaryrefslogtreecommitdiff
path: root/lib/libc_r/include
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-10 00:45:31 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-01-10 00:45:31 +0000
commite736d21c7cc86c4d890d90b33dd8f76137d2de10 (patch)
tree8a88c7d3f1b5c5d2954377109d02d2e565c3b78c /lib/libc_r/include
parentb80ea47ce71a5c6ecddd3a6937f0f1f7c01ba24e (diff)
Change 1st arg in pthread_attr_getdetachstate to const.
Diffstat (limited to 'lib/libc_r/include')
-rw-r--r--lib/libc_r/include/pthread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc_r/include/pthread.h b/lib/libc_r/include/pthread.h
index e44e68c8059..16224681331 100644
--- a/lib/libc_r/include/pthread.h
+++ b/lib/libc_r/include/pthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pthread.h,v 1.13 2001/12/08 14:51:36 fgsch Exp $ */
+/* $OpenBSD: pthread.h,v 1.14 2002/01/10 00:45:30 fgsch Exp $ */
/*
* Copyright (c) 1993, 1994 by Chris Provenzano, proven@mit.edu
@@ -207,7 +207,8 @@ __BEGIN_DECLS
int pthread_attr_destroy __P((pthread_attr_t *));
int pthread_attr_getstacksize __P((pthread_attr_t *, size_t *));
int pthread_attr_getstackaddr __P((pthread_attr_t *, void **));
-int pthread_attr_getdetachstate __P((pthread_attr_t *, int *));
+int pthread_attr_getdetachstate __P((const pthread_attr_t *,
+ int *));
int pthread_attr_init __P((pthread_attr_t *));
int pthread_attr_setstacksize __P((pthread_attr_t *, size_t));
int pthread_attr_setstackaddr __P((pthread_attr_t *, void *));