Skip to content

Commit

Permalink
Remove IS_IN_libdl
Browse files Browse the repository at this point in the history
Replace with IS_IN (libdl).  No changes to generated code on x86_64.

	* dlfcn/dladdr.c: Use IS_IN.
	* dlfcn/dladdr1.c: Likewise.
	* dlfcn/dlclose.c: Likewise.
	* dlfcn/dlerror.c: Likewise.
	* dlfcn/dlinfo.c: Likewise.
	* dlfcn/dlmopen.c: Likewise.
	* dlfcn/dlopen.c: Likewise.
	* dlfcn/dlsym.c: Likewise.
	* dlfcn/dlvsym.c: Likewise.
  • Loading branch information
Siddhesh Poyarekar committed Nov 24, 2014
1 parent 85f3637 commit 9b42a0b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 9 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>

* dlfcn/dladdr.c: Use IS_IN.
* dlfcn/dladdr1.c: Likewise.
* dlfcn/dlclose.c: Likewise.
* dlfcn/dlerror.c: Likewise.
* dlfcn/dlinfo.c: Likewise.
* dlfcn/dlmopen.c: Likewise.
* dlfcn/dlopen.c: Likewise.
* dlfcn/dlsym.c: Likewise.
* dlfcn/dlvsym.c: Likewise.

* include/ifaddrs.h: Use IS_IN.
* inet/check_pf.c: Likewise.
* sysdeps/unix/sysv/linux/check_pf.c: Likewise.
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dladdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <dlfcn.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

int
dladdr (const void *address, Dl_info *info)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dladdr1.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

#include <dlfcn.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

int
dladdr1 (const void *address, Dl_info *info, void **extra, int flags)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlclose.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <dlfcn.h>
#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

int
dlclose (void *handle)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlerror.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <bits/libc-lock.h>
#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

char *
dlerror (void)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <ldsodefs.h>
#include <libintl.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

int
dlinfo (void *handle, int request, void *arg)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlmopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <unistd.h>
#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

void *
dlmopen (Lmid_t nsid, const char *file, int mode)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <unistd.h>
#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

void *
dlopen (const char *file, int mode)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlsym.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

void *
dlsym (void *handle, const char *name)
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/dlvsym.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

#include <ldsodefs.h>

#if !defined SHARED && defined IS_IN_libdl
#if !defined SHARED && IS_IN (libdl)

void *
weak_function
Expand Down

0 comments on commit 9b42a0b

Please sign in to comment.