1*6b7ae3beSriastradh /* $NetBSD: h_abuse_static.c,v 1.1 2023/06/01 22:26:40 riastradh Exp $ */
2*6b7ae3beSriastradh
3*6b7ae3beSriastradh /*-
4*6b7ae3beSriastradh * Copyright (c) 2023 The NetBSD Foundation, Inc.
5*6b7ae3beSriastradh * All rights reserved.
6*6b7ae3beSriastradh *
7*6b7ae3beSriastradh * Redistribution and use in source and binary forms, with or without
8*6b7ae3beSriastradh * modification, are permitted provided that the following conditions
9*6b7ae3beSriastradh * are met:
10*6b7ae3beSriastradh * 1. Redistributions of source code must retain the above copyright
11*6b7ae3beSriastradh * notice, this list of conditions and the following disclaimer.
12*6b7ae3beSriastradh * 2. Redistributions in binary form must reproduce the above copyright
13*6b7ae3beSriastradh * notice, this list of conditions and the following disclaimer in the
14*6b7ae3beSriastradh * documentation and/or other materials provided with the distribution.
15*6b7ae3beSriastradh *
16*6b7ae3beSriastradh * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*6b7ae3beSriastradh * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*6b7ae3beSriastradh * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*6b7ae3beSriastradh * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*6b7ae3beSriastradh * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*6b7ae3beSriastradh * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*6b7ae3beSriastradh * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*6b7ae3beSriastradh * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*6b7ae3beSriastradh * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*6b7ae3beSriastradh * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*6b7ae3beSriastradh * POSSIBILITY OF SUCH DAMAGE.
27*6b7ae3beSriastradh */
28*6b7ae3beSriastradh
29*6b7ae3beSriastradh extern __thread int mysym;
30*6b7ae3beSriastradh
31*6b7ae3beSriastradh int *fuse(void);
32*6b7ae3beSriastradh int *
fuse(void)33*6b7ae3beSriastradh fuse(void)
34*6b7ae3beSriastradh {
35*6b7ae3beSriastradh
36*6b7ae3beSriastradh return &mysym;
37*6b7ae3beSriastradh }
38