(__nscd_get_map_ref): gc_cyclep parameter should be pointer to volatile int.
authordrepper <drepper>
Wed, 8 Sep 2004 18:01:31 +0000 (18:01 +0000)
committerdrepper <drepper>
Wed, 8 Sep 2004 18:01:31 +0000 (18:01 +0000)
nscd/nscd-client.h

index 1b80e92..7cdeba5 100644 (file)
@@ -233,7 +233,7 @@ extern int __nscd_open_socket (const char *key, size_t keylen,
 extern struct mapped_database *__nscd_get_map_ref (request_type type,
                                                   const char *name,
                                                   struct locked_map_ptr *mapptr,
-                                                  int *gc_cyclep);
+                                                  volatile int *gc_cyclep);
 
 /* Unmap database.  */
 extern void __nscd_unmap (struct mapped_database *mapped);