xref: /illumos-gate/usr/src/lib/libumem/common/linktest_stand.c (revision a07094369b21309434206d9b3601d162693466fc)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 
23 /*
24  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
25  * Use is subject to license terms.
26  */
27 
28 #pragma ident	"%Z%%M%	%I%	%E% SMI"
29 
30 /*
31  * This file is used to verify that the standalone's external dependencies
32  * haven't changed in a way that'll break things that use it.
33  */
34 
35 void __umem_assert_failed(void) {}
36 void _atomic_add_64(void) {}
37 void _atomic_add_32_nv(void) {}
38 void _dladdr1(void) {}
39 void bcopy(void) {}
40 void bzero(void) {}
41 void exit(void) {}
42 void getenv(void) {}
43 void gethrtime(void) {}
44 void membar_producer(void) {}
45 void memcpy(void) {}
46 void memset(void) {}
47 void snprintf(void) {}
48 void strchr(void) {}
49 void strcmp(void) {}
50 void strlen(void) {}
51 void strncpy(void) {}
52 void strrchr(void) {}
53 void strtoul(void) {}
54 void umem_err_recoverable(void) {}
55 void umem_panic(void) {}
56 void vsnprintf(void) {}
57 
58 #ifdef	__i386
59 void __mul64(void) {}
60 void __rem64(void) {}
61 void __div64(void) {}
62 
63 #ifdef	__GNUC__
64 void __divdi3(void) {}
65 void __moddi3(void) {}
66 #endif	/* __GNUC__ */
67 
68 #endif	/* __i386 */
69 
70 int __ctype;
71 int errno;
72