diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-06-12 16:53:43 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-06-12 16:53:43 +0000 |
commit | 72d4ac23660326e76443cf18f0ed8c2e4792d268 (patch) | |
tree | dec24311250bb61298456c3eb0e8937c3a4b7561 /nscd/mem.c | |
parent | 8ba7d5cebbd4acf40dc8d22982baa50c2e1fd194 (diff) | |
download | glibc-72d4ac23660326e76443cf18f0ed8c2e4792d268.tar glibc-72d4ac23660326e76443cf18f0ed8c2e4792d268.tar.gz glibc-72d4ac23660326e76443cf18f0ed8c2e4792d268.tar.bz2 glibc-72d4ac23660326e76443cf18f0ed8c2e4792d268.zip |
Updated to fedora-glibc-20080612T1619cvs/fedora-glibc-2_8_90-6
Diffstat (limited to 'nscd/mem.c')
-rw-r--r-- | nscd/mem.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nscd/mem.c b/nscd/mem.c index 96ff03f0df..e821729dab 100644 --- a/nscd/mem.c +++ b/nscd/mem.c @@ -235,6 +235,11 @@ gc (struct database_dyn *db) /* Sort the entries by their address. */ qsort (he, cnt, sizeof (struct hashentry *), sort_he); +#define obstack_chunk_alloc xmalloc +#define obstack_chunk_free free + struct obstack ob; + obstack_init (&ob); + /* Determine the highest used address. */ size_t high = nmark; while (high > 0 && mark[high - 1] == 0) @@ -307,10 +312,6 @@ gc (struct database_dyn *db) size_t size; struct moveinfo *next; } *moves = NULL; -#define obstack_chunk_alloc xmalloc -#define obstack_chunk_free free - struct obstack ob; - obstack_init (&ob); while (byte < high) { |