summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-02-16 22:48:41 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-02-16 22:48:41 +0000
commit06f53a9a60706de8c848e3ce7d556f14e26a7d91 (patch)
tree3aeaf2b85311310353c413bb66c7506af3934474 /lib/libpthread/uthread
parent4482765f257d3757519c0b266a4537bd3feb8c76 (diff)
Add missing const for function parameters to match POSIX.
From: FreeBSD's libc_r ok marc@
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r--lib/libpthread/uthread/uthread_attr_getstackaddr.c4
-rw-r--r--lib/libpthread/uthread/uthread_attr_getstacksize.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/uthread/uthread_attr_getstackaddr.c b/lib/libpthread/uthread/uthread_attr_getstackaddr.c
index b2a330f5a64..295a6ee68fa 100644
--- a/lib/libpthread/uthread/uthread_attr_getstackaddr.c
+++ b/lib/libpthread/uthread/uthread_attr_getstackaddr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */
+/* $OpenBSD: uthread_attr_getstackaddr.c,v 1.5 2004/02/16 22:48:40 brad Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-pthread_attr_getstackaddr(pthread_attr_t *attr, void **stackaddr)
+pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
{
int ret;
diff --git a/lib/libpthread/uthread/uthread_attr_getstacksize.c b/lib/libpthread/uthread/uthread_attr_getstacksize.c
index f58a0bf5d15..ea9a3b64385 100644
--- a/lib/libpthread/uthread/uthread_attr_getstacksize.c
+++ b/lib/libpthread/uthread/uthread_attr_getstacksize.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_attr_getstacksize.c,v 1.4 2002/11/07 02:56:20 marc Exp $ */
+/* $OpenBSD: uthread_attr_getstacksize.c,v 1.5 2004/02/16 22:48:40 brad Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -38,7 +38,7 @@
#include "pthread_private.h"
int
-pthread_attr_getstacksize(pthread_attr_t *attr, size_t *stacksize)
+pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *stacksize)
{
int ret;