summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-14 12:27:03 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-14 12:27:03 +0000
commitb998ae0611fc9abb6b093209a6c67aeb833e46ad (patch)
treea9be4d01684a45f9b56e8585b695e8aea3c2645f /ldso/include
parente79b93975e4a949e77e372083b86f1093f6de29c (diff)
Based on a patch from Alexandre Oliva, make sure _dl_malloc returns a nicely
aligned pointer that may be aligned up to page_size. Also add _dl_free,
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/ldso.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index 6c01cebc1..b415a5024 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -65,6 +65,7 @@ extern int _dl_debug_file;
#endif
extern void *_dl_malloc(int 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);