summaryrefslogtreecommitdiff
path: root/source4/lib/registry/tools/regtree.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-04 13:18:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:44 -0500
commit6a8355a6282563e3198c05dd6eb82107e449682c (patch)
treec343d58d690e78e7d4c539114c92fc3344e2a258 /source4/lib/registry/tools/regtree.c
parent1b3bbc7d440d61e0780fdb0b2493dd4ab9bd3f59 (diff)
downloadsamba-6a8355a6282563e3198c05dd6eb82107e449682c.tar.gz
samba-6a8355a6282563e3198c05dd6eb82107e449682c.tar.bz2
samba-6a8355a6282563e3198c05dd6eb82107e449682c.zip
r467: hopefully get the buildfarm compiling fine now...
metze (This used to be commit d15f0e18bb43608c611cfe78fc79db9ee10e1eb2)
Diffstat (limited to 'source4/lib/registry/tools/regtree.c')
-rw-r--r--source4/lib/registry/tools/regtree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index 94018bdc5c..4d0d4b2909 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -58,10 +58,11 @@ void print_tree(int l, REG_KEY *p, int fullpath, int novals)
}
}
-int main (int argc, char **argv)
+ int main(int argc, char **argv)
{
int opt;
- char *backend = "dir", *credentials = NULL;
+ const char *backend = "dir";
+ const char *credentials = NULL;
poptContext pc;
REG_KEY *root;
REG_HANDLE *h;