xref: /titanic_44/usr/src/lib/libumem/common/linktest_stand.c (revision 4f364e7c95ee7fd9d5bbeddc1940e92405bb0e72)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * CDDL HEADER START
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
57fad02eeSpetede  * Common Development and Distribution License (the "License").
67fad02eeSpetede  * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate  *
87c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate  * and limitations under the License.
127c478bd9Sstevel@tonic-gate  *
137c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate  *
197c478bd9Sstevel@tonic-gate  * CDDL HEADER END
207c478bd9Sstevel@tonic-gate  */
21e8031f0aSraf 
227c478bd9Sstevel@tonic-gate /*
237257d1b4Sraf  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
247c478bd9Sstevel@tonic-gate  * Use is subject to license terms.
257c478bd9Sstevel@tonic-gate  */
267c478bd9Sstevel@tonic-gate 
277c478bd9Sstevel@tonic-gate /*
287c478bd9Sstevel@tonic-gate  * This file is used to verify that the standalone's external dependencies
297c478bd9Sstevel@tonic-gate  * haven't changed in a way that'll break things that use it.
307c478bd9Sstevel@tonic-gate  */
317c478bd9Sstevel@tonic-gate 
__umem_assert_failed(void)327c478bd9Sstevel@tonic-gate void __umem_assert_failed(void) {}
atomic_add_64(void)337257d1b4Sraf void atomic_add_64(void) {}
atomic_add_32_nv(void)347257d1b4Sraf void atomic_add_32_nv(void) {}
atomic_swap_64(void)35*4f364e7cSRobert Mustacchi void atomic_swap_64(void) {}
dladdr1(void)367257d1b4Sraf void dladdr1(void) {}
bcopy(void)377c478bd9Sstevel@tonic-gate void bcopy(void) {}
bzero(void)387c478bd9Sstevel@tonic-gate void bzero(void) {}
exit(void)397c478bd9Sstevel@tonic-gate void exit(void) {}
getenv(void)407c478bd9Sstevel@tonic-gate void getenv(void) {}
gethrtime(void)417c478bd9Sstevel@tonic-gate void gethrtime(void) {}
membar_producer(void)427c478bd9Sstevel@tonic-gate void membar_producer(void) {}
memcpy(void)437c478bd9Sstevel@tonic-gate void memcpy(void) {}
_memcpy(void)447fad02eeSpetede void _memcpy(void) {}
memset(void)457c478bd9Sstevel@tonic-gate void memset(void) {}
snprintf(void)467c478bd9Sstevel@tonic-gate void snprintf(void) {}
strchr(void)477c478bd9Sstevel@tonic-gate void strchr(void) {}
strcmp(void)487c478bd9Sstevel@tonic-gate void strcmp(void) {}
strlen(void)497c478bd9Sstevel@tonic-gate void strlen(void) {}
strncpy(void)507c478bd9Sstevel@tonic-gate void strncpy(void) {}
strrchr(void)517c478bd9Sstevel@tonic-gate void strrchr(void) {}
strtoul(void)527c478bd9Sstevel@tonic-gate void strtoul(void) {}
umem_err_recoverable(void)537c478bd9Sstevel@tonic-gate void umem_err_recoverable(void) {}
umem_panic(void)547c478bd9Sstevel@tonic-gate void umem_panic(void) {}
vsnprintf(void)557c478bd9Sstevel@tonic-gate void vsnprintf(void) {}
567c478bd9Sstevel@tonic-gate 
577c478bd9Sstevel@tonic-gate #ifdef	__i386
__mul64(void)587c478bd9Sstevel@tonic-gate void __mul64(void) {}
__rem64(void)597c478bd9Sstevel@tonic-gate void __rem64(void) {}
__div64(void)607c478bd9Sstevel@tonic-gate void __div64(void) {}
617c478bd9Sstevel@tonic-gate 
627c478bd9Sstevel@tonic-gate #ifdef	__GNUC__
__divdi3(void)637c478bd9Sstevel@tonic-gate void __divdi3(void) {}
__moddi3(void)647c478bd9Sstevel@tonic-gate void __moddi3(void) {}
657c478bd9Sstevel@tonic-gate #endif	/* __GNUC__ */
667c478bd9Sstevel@tonic-gate 
677c478bd9Sstevel@tonic-gate #endif	/* __i386 */
687c478bd9Sstevel@tonic-gate 
697c478bd9Sstevel@tonic-gate int __ctype;
707c478bd9Sstevel@tonic-gate int errno;
71