diff options
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/pthread_cancelstub.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpthread/pthread_cancelstub.c b/lib/libpthread/pthread_cancelstub.c index 446b15956c3..b9e1cf0dbca 100644 --- a/lib/libpthread/pthread_cancelstub.c +++ b/lib/libpthread/pthread_cancelstub.c @@ -1,4 +1,4 @@ -/* $NetBSD: pthread_cancelstub.c,v 1.30 2011/01/26 18:11:35 christos Exp $ */ +/* $NetBSD: pthread_cancelstub.c,v 1.31 2011/01/26 18:48:57 christos Exp $ */ /*- * Copyright (c) 2002, 2007 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: pthread_cancelstub.c,v 1.30 2011/01/26 18:11:35 christos Exp $"); +__RCSID("$NetBSD: pthread_cancelstub.c,v 1.31 2011/01/26 18:48:57 christos Exp $"); #ifndef lint @@ -474,15 +474,15 @@ pwrite(int d, const void *buf, size_t nbytes, off_t offset) #define STUB(fun) __ssp_weak_name(fun) ssize_t _sys_readlink(const char * __restrict, char * __restrict, size_t); ssize_t -_cancelstub_readlink(const char * __restrict path, char * __restrict buf, +STUB(readlink)(const char * __restrict path, char * __restrict buf, size_t bufsiz) { return _sys_readlink(path, buf, bufsiz); } -char * _sys_getcwd(char *, size_t); +char *_sys_getcwd(char *, size_t); char * -_cancelstub_getcwd(char *buf, size_t size) +STUB(getcwd)(char *buf, size_t size) { return _sys_getcwd(buf, size); } |
