Deleted Added
full compact
dlfcn.c (205606) dlfcn.c (211705)
1/*-
2 * Copyright (c) 1998 John D. Polstra
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1998 John D. Polstra
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/lib/libc/gen/dlfcn.c 205606 2010-03-24 15:59:51Z gahr $");
28__FBSDID("$FreeBSD: head/lib/libc/gen/dlfcn.c 211705 2010-08-23 15:27:03Z kib $");
29
30/*
31 * Linkage to services provided by the dynamic linker.
32 */
33#include <dlfcn.h>
34#include <link.h>
35#include <stddef.h>
36

--- 115 unchanged lines hidden (view full) ---

152{
153}
154
155#pragma weak _rtld_atfork_post
156void
157_rtld_atfork_post(int *locks)
158{
159}
29
30/*
31 * Linkage to services provided by the dynamic linker.
32 */
33#include <dlfcn.h>
34#include <link.h>
35#include <stddef.h>
36

--- 115 unchanged lines hidden (view full) ---

152{
153}
154
155#pragma weak _rtld_atfork_post
156void
157_rtld_atfork_post(int *locks)
158{
159}
160
161#pragma weak _rtld_addr_phdr
162int
163_rtld_addr_phdr(const void *addr, struct dl_phdr_info *phdr_info)
164{
165
166 return (0);
167}