summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 22:41:36 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2007-12-03 22:41:36 +0000
commit453094fb5857cddffe0ed05305806085ae3460c0 (patch)
tree49b9e4dffc05be1efc62bf4a0d2c7967d2f4330f /ldso/include
parent763c6d06bc87904923b1df920c031df4559df589 (diff)
Blackfin FD-PIC patch 1/6.
Add a new function _dl_free. In _dl_malloc, ensure we always get back a full page from mmap. Reset _dl_malloc_function and _dl_free_function when libdl is initialized.
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/ldso.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index 97f54b72c..88c1116e7 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -99,7 +99,8 @@ extern int _dl_debug_file;
#define NULL ((void *) 0)
#endif
-extern void *_dl_malloc(int size);
+extern void *_dl_malloc(size_t size);
+extern void _dl_free(void *);
extern char *_dl_getenv(const char *symbol, char **envp);
extern void _dl_unsetenv(const char *symbol, char **envp);
extern char *_dl_strdup(const char *string);