diff options
Diffstat (limited to 'nscd/nscd-client.h')
-rw-r--r-- | nscd/nscd-client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h index 02a57787b5..7cdeba5485 100644 --- a/nscd/nscd-client.h +++ b/nscd/nscd-client.h @@ -179,8 +179,8 @@ struct database_pers_head { int version; int header_size; - int gc_cycle; - int nscd_certainly_running; + volatile int gc_cycle; + volatile int nscd_certainly_running; volatile time_t timestamp; size_t module; @@ -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); |