aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-28 15:39:32 -0700
committerRoland McGrath <roland@hack.frob.com>2013-03-28 15:39:32 -0700
commitdc0a02638583d8e7f7e1cc72643d1b26ec6042fd (patch)
tree86ec6fdccabc839223424322719e2f9eebae13c3 /sysdeps/generic
parent3d3436ae68a907f656a07604eb7e10a50e1c8f85 (diff)
downloadglibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.zip
glibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.tar.gz
glibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.tar.bz2
Make _dl_phdr pointer to const.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/ldsodefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index 89db552..41684f3 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -603,7 +603,7 @@ extern const struct rtld_global_ro _rtld_global_ro
#ifndef SHARED
/* dl-support.c defines these and initializes them early on. */
-extern ElfW(Phdr) *_dl_phdr;
+extern const ElfW(Phdr) *_dl_phdr;
extern size_t _dl_phnum;
#endif