summary refs log tree commit diff
path: root/nscd/nscd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-05-18 03:57:19 +0000
committerUlrich Drepper <drepper@redhat.com>2008-05-18 03:57:19 +0000
commit8884028c8e09ebcfb61634f212b62349606784aa (patch)
tree8121c35a6b5b766dd7bf656b12efdfe29bb11586 /nscd/nscd.h
parentb21595750e4feda0c0478579070d98f41b4f845f (diff)
downloadglibc-8884028c8e09ebcfb61634f212b62349606784aa.tar.gz
glibc-8884028c8e09ebcfb61634f212b62349606784aa.tar.xz
glibc-8884028c8e09ebcfb61634f212b62349606784aa.zip
* nscd/nscd.h (mem_in_flight): Replace blockaddr field with
	blockoff of type nscd_ssize_t.
	* nscd/mem.c (gc): Simplify markrange call for on-flight blocks.
	(mempoll_alloc): Record block offset and not address.
Diffstat (limited to 'nscd/nscd.h')
-rw-r--r--nscd/nscd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/nscd.h b/nscd/nscd.h
index 66813e7480..b024017fd4 100644
--- a/nscd/nscd.h
+++ b/nscd/nscd.h
@@ -197,7 +197,7 @@ extern __thread struct mem_in_flight
   {
     int dbidx;
     nscd_ssize_t blocklen;
-    void *blockaddr;
+    nscd_ssize_t blockoff;
   } block[IDX_last];
 
   struct mem_in_flight *next;