summaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-05-16 10:29:43 -0700
committerPetr Baudis <pasky@suse.cz>2009-05-22 04:58:49 +0200
commite856702a047ee2cf4e7d3153d6adc8b740803770 (patch)
tree962a7f36a58d39dd454f82694e6a4fe08181915c /nscd
parent223e614dafc55a14889355e95367e216d2fd320e (diff)
Move BLOCK_ALIGN* macros back.
The move to nscd-client.h was only needed for some interim version of the patch. The final version doesn't need it. Undo the change. (cherry picked from commit fa546abe9d0346d5d87b8fe19884993408476d77)
Diffstat (limited to 'nscd')
-rw-r--r--nscd/nscd-client.h5
-rw-r--r--nscd/nscd.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/nscd/nscd-client.h b/nscd/nscd-client.h
index 81ca3d56b9..c6c09cbddd 100644
--- a/nscd/nscd-client.h
+++ b/nscd/nscd-client.h
@@ -47,11 +47,6 @@
/* Maximum allowed length for the key. */
#define MAXKEYLEN 1024
-/* Maximum alignment requirement we will encounter. */
-#define BLOCK_ALIGN_LOG 3
-#define BLOCK_ALIGN (1 << BLOCK_ALIGN_LOG)
-#define BLOCK_ALIGN_M1 (BLOCK_ALIGN - 1)
-
/* Available services. */
typedef enum
diff --git a/nscd/nscd.h b/nscd/nscd.h
index 632bf58dc5..3279b85432 100644
--- a/nscd/nscd.h
+++ b/nscd/nscd.h
@@ -111,6 +111,11 @@ struct database_dyn
/* Path used when not using persistent storage. */
#define _PATH_NSCD_XYZ_DB_TMP "/var/run/nscd/dbXXXXXX"
+/* Maximum alignment requirement we will encounter. */
+#define BLOCK_ALIGN_LOG 3
+#define BLOCK_ALIGN (1 << BLOCK_ALIGN_LOG)
+#define BLOCK_ALIGN_M1 (BLOCK_ALIGN - 1)
+
/* Default value for the maximum size of the database files. */
#define DEFAULT_MAX_DB_SIZE (32 * 1024 * 1024)