aboutsummaryrefslogtreecommitdiff
path: root/nscd/nscd_helper.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-16 22:54:54 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-16 22:54:54 +0000
commit62417d7ee84a198103fbc5e871bf35e0d5efc4d0 (patch)
treebd019119a0a9c56f8b081c831907cf272306e24f /nscd/nscd_helper.c
parent40a8d825af282293e79c9d28b5035501fdd6acd4 (diff)
downloadglibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.tar
glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.tar.gz
glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.tar.bz2
glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.zip
iAdd __nscd_getai prototype.
Diffstat (limited to 'nscd/nscd_helper.c')
-rw-r--r--nscd/nscd_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd_helper.c b/nscd/nscd_helper.c
index e40500c83c..ae8dd6c91f 100644
--- a/nscd/nscd_helper.c
+++ b/nscd/nscd_helper.c
@@ -72,7 +72,7 @@ void
__nscd_unmap (struct mapped_database *mapped)
{
assert (mapped->counter == 0);
- munmap ((void *) mapped->head, mapped->mapsize);
+ __munmap ((void *) mapped->head, mapped->mapsize);
free (mapped);
}
@@ -180,7 +180,7 @@ get_mapping (request_type type, const char *key,
if (newp == NULL)
{
/* Ugh, after all we went through the memory allocation failed. */
- munmap (result, size);
+ __munmap (result, size);
goto out_close;
}