1 /* 2 * Copyright (c) 2002, Intel Corporation. All rights reserved. 3 * Created by: rolla.n.selbak REMOVE-THIS AT intel DOT com 4 * This file is licensed under the GPL license. For the full content 5 * of this license, see the COPYING file at the top level of this 6 * source tree. 7 8 Test this function is defined: 9 10 int pthread_mutex_init(pthread_mutex_t *restrict, const pthread_mutexattr_t 11 *restrict); 12 */ 13 14 #include <pthread.h> 15 16 pthread_mutex_t a; 17 18 void dummy_func() 19 { 20 21 pthread_mutex_init(&a, NULL); 22 return; 23 } 24