aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-30 16:39:16 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-30 16:39:16 +0000
commiteaa27aca6ff96aab4f58832545ddc9889baf8129 (patch)
treec0f941dbe2787efc029e7d633e5ffb79bc532c42 /nscd
parent34e212784c87edcc9c06058db9685db313c3126a (diff)
downloadglibc-eaa27aca6ff96aab4f58832545ddc9889baf8129.zip
glibc-eaa27aca6ff96aab4f58832545ddc9889baf8129.tar.gz
glibc-eaa27aca6ff96aab4f58832545ddc9889baf8129.tar.bz2
* nscd/nscd.h (struct database_dyn): Change filename to an array
to avoid relocations.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/nscd.h b/nscd/nscd.h
index f826c7a..8b95630 100644
--- a/nscd/nscd.h
+++ b/nscd/nscd.h
@@ -64,11 +64,11 @@ struct database_dyn
int persistent;
int shared;
int propagate;
- size_t max_db_size;
- const char *filename;
+ const char filename[12];
const char *db_filename;
time_t file_mtime;
size_t suggested_module;
+ size_t max_db_size;
unsigned long int postimeout; /* In seconds. */
unsigned long int negtimeout; /* In seconds. */