Use __restrict rather than restrict.

This commit is contained in:
Jason Evans 2009-12-29 00:09:15 -08:00
parent 87704ea339
commit bca042dfeb

View File

@ -1319,8 +1319,8 @@ malloc_printf(const char *format, ...)
*/
#ifdef JEMALLOC_LAZY_LOCK
int (*pthread_create_fptr)(pthread_t *restrict, const pthread_attr_t *,
void *(*)(void *), void *restrict);
int (*pthread_create_fptr)(pthread_t *__restrict, const pthread_attr_t *,
void *(*)(void *), void *__restrict);
static void
get_pthread_create_fptr(void)
@ -1336,8 +1336,9 @@ get_pthread_create_fptr(void)
}
int
pthread_create(pthread_t *restrict thread, const pthread_attr_t *restrict attr,
void *(*start_routine)(void *), void *restrict arg)
pthread_create(pthread_t *__restrict thread,
const pthread_attr_t *__restrict attr, void *(*start_routine)(void *),
void *__restrict arg)
{
static pthread_once_t once_control = PTHREAD_ONCE_INIT;