aboutsummaryrefslogtreecommitdiff
path: root/testcases/open_posix_testsuite/conformance/definitions/pthread_h/18-1-buildonly.c
blob: c6aa02d51fb442e9f564f2041b78452af0f8df6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  /*
   * Copyright (c) 2002, Intel Corporation. All rights reserved.
   * Created by:  rolla.n.selbak REMOVE-THIS AT intel DOT com
   * This file is licensed under the GPL license.  For the full content
   * of this license, see the COPYING file at the top level of this
   * source tree.

   Test this function is defined:

   int pthread_mutex_unlock(pthread_mutex_t *);
   */

#include <pthread.h>

static pthread_mutex_t a;

static void dummy_func()
{

	pthread_mutex_unlock(&a);
	return;
}