diff options
author | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-03-10 02:45:59 +0000 |
---|---|---|
committer | wez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-03-10 02:45:59 +0000 |
commit | b83ff2ab9d2939c71d8acdf865a901cc6a58f7e3 (patch) | |
tree | 20a8873df9a44fda57bd129b64c85c1d059330bc /linktest_stand.c | |
parent | ea7a8f10a4c21ef7130e22cf0a1195deebf3514d (diff) | |
download | portableumem-b83ff2ab9d2939c71d8acdf865a901cc6a58f7e3.tar.gz |
Initial revision
git-svn-id: https://labs.omniti.com/portableumem/trunk@2 1665872d-e22b-0410-9e5d-a57ad4215e6d
Diffstat (limited to 'linktest_stand.c')
-rw-r--r-- | linktest_stand.c | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/linktest_stand.c b/linktest_stand.c new file mode 100644 index 0000000..708fff0 --- /dev/null +++ b/linktest_stand.c @@ -0,0 +1,70 @@ +/* + * CDDL HEADER START + * + * The contents of this file are subject to the terms of the + * Common Development and Distribution License, Version 1.0 only + * (the "License"). You may not use this file except in compliance + * with the License. + * + * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE + * or http://www.opensolaris.org/os/licensing. + * See the License for the specific language governing permissions + * and limitations under the License. + * + * When distributing Covered Code, include this CDDL HEADER in each + * file and include the License file at usr/src/OPENSOLARIS.LICENSE. + * If applicable, add the following below this CDDL HEADER, with the + * fields enclosed by brackets "[]" replaced with your own identifying + * information: Portions Copyright [yyyy] [name of copyright owner] + * + * CDDL HEADER END + */ +/* + * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + */ + +#pragma ident "@(#)linktest_stand.c 1.3 05/06/08 SMI" + +/* + * This file is used to verify that the standalone's external dependencies + * haven't changed in a way that'll break things that use it. + */ + +void __umem_assert_failed(void) {} +void _atomic_add_64(void) {} +void _atomic_add_32_nv(void) {} +void bcopy(void) {} +void bzero(void) {} +void dladdr1(void) {} +void exit(void) {} +void getenv(void) {} +void gethrtime(void) {} +void membar_producer(void) {} +void memcpy(void) {} +void memset(void) {} +void snprintf(void) {} +void strchr(void) {} +void strcmp(void) {} +void strlen(void) {} +void strncpy(void) {} +void strrchr(void) {} +void strtoul(void) {} +void umem_err_recoverable(void) {} +void umem_panic(void) {} +void vsnprintf(void) {} + +#ifdef __i386 +void __mul64(void) {} +void __rem64(void) {} +void __div64(void) {} + +#ifdef __GNUC__ +void __divdi3(void) {} +void __moddi3(void) {} +#endif /* __GNUC__ */ + +#endif /* __i386 */ + +int __ctype; +int errno; |