1*8495e8b1SKonstantin Belousov /*
2*8495e8b1SKonstantin Belousov * Copyright (c) 2014 The FreeBSD Foundation.
3*8495e8b1SKonstantin Belousov *
4*8495e8b1SKonstantin Belousov * Portions of this software were developed by Konstantin Belousov
5*8495e8b1SKonstantin Belousov * under sponsorship from the FreeBSD Foundation.
6*8495e8b1SKonstantin Belousov *
7*8495e8b1SKonstantin Belousov * Redistribution and use in source and binary forms, with or without
8*8495e8b1SKonstantin Belousov * modification, are permitted provided that the following conditions
9*8495e8b1SKonstantin Belousov * are met:
10*8495e8b1SKonstantin Belousov * 1. Redistributions of source code must retain the above copyright
11*8495e8b1SKonstantin Belousov * notice(s), this list of conditions and the following disclaimer as
12*8495e8b1SKonstantin Belousov * the first lines of this file unmodified other than the possible
13*8495e8b1SKonstantin Belousov * addition of one or more copyright notices.
14*8495e8b1SKonstantin Belousov * 2. Redistributions in binary form must reproduce the above copyright
15*8495e8b1SKonstantin Belousov * notice(s), this list of conditions and the following disclaimer in
16*8495e8b1SKonstantin Belousov * the documentation and/or other materials provided with the
17*8495e8b1SKonstantin Belousov * distribution.
18*8495e8b1SKonstantin Belousov *
19*8495e8b1SKonstantin Belousov * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY
20*8495e8b1SKonstantin Belousov * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21*8495e8b1SKonstantin Belousov * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22*8495e8b1SKonstantin Belousov * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE
23*8495e8b1SKonstantin Belousov * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24*8495e8b1SKonstantin Belousov * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25*8495e8b1SKonstantin Belousov * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
26*8495e8b1SKonstantin Belousov * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
27*8495e8b1SKonstantin Belousov * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
28*8495e8b1SKonstantin Belousov * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
29*8495e8b1SKonstantin Belousov * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30*8495e8b1SKonstantin Belousov */
31*8495e8b1SKonstantin Belousov
32*8495e8b1SKonstantin Belousov #include <pthread.h>
33*8495e8b1SKonstantin Belousov #include "libc_private.h"
34*8495e8b1SKonstantin Belousov
35*8495e8b1SKonstantin Belousov int
_pthread_mutex_init_calloc_cb_stub(pthread_mutex_t * mutex,void * (calloc_cb)(size_t,size_t))36*8495e8b1SKonstantin Belousov _pthread_mutex_init_calloc_cb_stub(pthread_mutex_t *mutex,
37*8495e8b1SKonstantin Belousov void *(calloc_cb)(size_t, size_t))
38*8495e8b1SKonstantin Belousov {
39*8495e8b1SKonstantin Belousov
40*8495e8b1SKonstantin Belousov return (0);
41*8495e8b1SKonstantin Belousov }
42