[git commit ldso-future] ldso: move _dl_get_ready_to_run prototype to ldso.c and make it hidden

Peter S. Mazinger ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=7b105de17d5e5238471b61d87a6d16d07913799d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 ldso/include/ldso.h |    4 ----
 ldso/ldso/ldso.c    |    5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index 7063f96..9fd5749 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -138,10 +138,6 @@ extern void _dl_dprintf(int, const char *__restrict, ...) attribute_hidden;
 # define DL_GET_READY_TO_RUN_EXTRA_ARGS
 #endif
 
-extern void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
-		ElfW(auxv_t) auxvt[AT_EGID + 1], char **envp, char **argv
-		DL_GET_READY_TO_RUN_EXTRA_PARMS);
-
 #ifdef HAVE_DL_INLINES_H
 #include <dl-inlines.h>
 #endif
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 8b6438f..e0d1eb8 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -64,6 +64,11 @@ static int _dl_secure = 1; /* Are we dealing with setuid stuff? */
 /* Needed for standalone execution. */
 unsigned long attribute_hidden _dl_skip_args = 0;
 const char *_dl_progname = UCLIBC_LDSO;      /* The name of the executable being run */
+
+void _dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
+			  ElfW(auxv_t) auxvt[AT_EGID + 1], char **envp, char **argv
+			  DL_GET_READY_TO_RUN_EXTRA_PARMS) attribute_hidden;
+
 #include "dl-startup.c"
 #include "dl-symbols.c"
 #include "dl-array.c"
-- 
1.7.3.4



More information about the uClibc-cvs mailing list