From e736d21c7cc86c4d890d90b33dd8f76137d2de10 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Thu, 10 Jan 2002 00:45:31 +0000 Subject: Change 1st arg in pthread_attr_getdetachstate to const. --- lib/libc_r/include/pthread.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/libc_r/include') 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 *)); -- cgit v1.2.3