summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry/registry.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-22 18:50:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:30 -0500
commit1cecad25224a13de3b561ae36b8e530b152c81be (patch)
tree6322d21b17cb2ced45ae5db0587330269e63b9e3 /source4/lib/registry/registry.h
parent31356c02838a678013f0ad9416f0b101b755bd90 (diff)
downloadsamba-1cecad25224a13de3b561ae36b8e530b152c81be.tar.gz
samba-1cecad25224a13de3b561ae36b8e530b152c81be.tar.xz
samba-1cecad25224a13de3b561ae36b8e530b152c81be.zip
r17713: fix compiler warnings
metze (This used to be commit 21142ad7a2d37489e295d725c8700be0bb921091)
Diffstat (limited to 'source4/lib/registry/registry.h')
-rw-r--r--source4/lib/registry/registry.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/registry/registry.h b/source4/lib/registry/registry.h
index 6b3675b0ee..e5cf7d9111 100644
--- a/source4/lib/registry/registry.h
+++ b/source4/lib/registry/registry.h
@@ -55,9 +55,9 @@ extern const struct reg_predefined_key reg_predefined_keys[];
/* structure to store the registry handles */
struct registry_key
{
- char *name;
+ const char *name;
const char *path;
- char *class_name;
+ const char *class_name;
NTTIME last_mod;
struct registry_hive *hive;
void *backend_data;
@@ -65,7 +65,7 @@ struct registry_key
struct registry_value
{
- char *name;
+ const char *name;
unsigned int data_type;
DATA_BLOB data;
};
@@ -156,7 +156,7 @@ struct reg_init_function_entry {
struct reg_diff_value
{
- char *name;
+ const char *name;
enum { REG_DIFF_DEL_VAL, REG_DIFF_SET_VAL } changetype;
uint32_t type;
DATA_BLOB data;
@@ -164,7 +164,7 @@ struct reg_diff_value
struct reg_diff_key
{
- char *name;
+ const char *name;
enum { REG_DIFF_CHANGE_KEY, REG_DIFF_DEL_KEY } changetype;
uint32_t numvalues;
struct reg_diff_value *values;
@@ -172,7 +172,7 @@ struct reg_diff_key
struct reg_diff
{
- char *format;
+ const char *format;
uint32_t numkeys;
struct reg_diff_key *keys;
};