aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-dst.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 15:04:24 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 15:04:24 +0000
commit76a149ca08631b519040faf8de67da010fc9e33d (patch)
treee8e9d1dbae335a4e13cdec1aaa67641656a0e772 /elf/dl-dst.h
parente64da3e7d9bbf00dda616b6dc43a9b89706dda90 (diff)
downloadglibc-76a149ca08631b519040faf8de67da010fc9e33d.tar
glibc-76a149ca08631b519040faf8de67da010fc9e33d.tar.gz
glibc-76a149ca08631b519040faf8de67da010fc9e33d.tar.bz2
glibc-76a149ca08631b519040faf8de67da010fc9e33d.zip
2007-03-16 Jakub Jelinek <jakub@redhat.com>
* elf/dl-open.c (dl_open_worker): Declare l in 2 different smaller scopes. * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument. (DL_DST_REQUIRED): Adjust user.
Diffstat (limited to 'elf/dl-dst.h')
-rw-r--r--elf/dl-dst.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-dst.h b/elf/dl-dst.h
index 83d16bdb0e..37465ee2b3 100644
--- a/elf/dl-dst.h
+++ b/elf/dl-dst.h
@@ -50,7 +50,7 @@
\
First get the origin string if it is not available yet. \
This can only happen for the map of the executable. */ \
- DL_DST_REQ_STATIC \
+ DL_DST_REQ_STATIC (l) \
if ((l)->l_origin == NULL) \
{ \
assert ((l)->l_name[0] == '\0'); \
@@ -68,9 +68,9 @@
__len; })
#ifdef SHARED
-# define DL_DST_REQ_STATIC /* nothing */
+# define DL_DST_REQ_STATIC(l) /* nothing */
#else
-# define DL_DST_REQ_STATIC \
+# define DL_DST_REQ_STATIC(l) \
if ((l) == NULL) \
{ \
const char *origin = _dl_get_origin (); \