diff options
author | 2004-02-16 22:48:40 +0000 | |
---|---|---|
committer | 2004-02-16 22:48:40 +0000 | |
commit | 6ae9c70256b071ed7111c316dbd79c1b3e414c34 (patch) | |
tree | 7be55c7d8ad652412653e2c977ed6f3f95314b32 /lib/libpthread/uthread | |
parent | If the user does "chown foo.bar" check to see if foo.bar is a username (diff) | |
download | wireguard-openbsd-6ae9c70256b071ed7111c316dbd79c1b3e414c34.tar.xz wireguard-openbsd-6ae9c70256b071ed7111c316dbd79c1b3e414c34.zip |
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.c | 4 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_attr_getstacksize.c | 4 |
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; |