xref: /openbsd-src/lib/libc/dlfcn/init.h (revision 767451c3a44b994962ea42880d2a1460de78ea94)
1*767451c3Sguenther /*	$OpenBSD: init.h,v 1.1 2016/09/06 18:49:34 guenther Exp $	*/
2*767451c3Sguenther /*
3*767451c3Sguenther  * Copyright (c) 2016 Philip Guenther <guenther@openbsd.org>
4*767451c3Sguenther  *
5*767451c3Sguenther  * Permission to use, copy, modify, and distribute this software for any
6*767451c3Sguenther  * purpose with or without fee is hereby granted, provided that the above
7*767451c3Sguenther  * copyright notice and this permission notice appear in all copies.
8*767451c3Sguenther  *
9*767451c3Sguenther  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*767451c3Sguenther  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*767451c3Sguenther  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*767451c3Sguenther  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*767451c3Sguenther  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*767451c3Sguenther  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*767451c3Sguenther  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*767451c3Sguenther  */
17*767451c3Sguenther 
18*767451c3Sguenther #ifndef INIT_H
19*767451c3Sguenther #define	INIT_H
20*767451c3Sguenther 
21*767451c3Sguenther __BEGIN_HIDDEN_DECLS
22*767451c3Sguenther /* shared between dl_iterate_phdr() and _csu_finish() in static builds */
23*767451c3Sguenther extern struct dl_phdr_info	_static_phdr_info;
24*767451c3Sguenther __END_HIDDEN_DECLS
25*767451c3Sguenther 
26*767451c3Sguenther #endif /* !INIT_H */
27