summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_nt4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-04-12 11:02:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:15 -0500
commit24cd656ab0cd6501e321661883ae564c8d548298 (patch)
tree5e6a517d5170a06f1a802eb8c5820b1f1f3cbb46 /source4/lib/registry/reg_backend_nt4
parent9d6a284567b832eee6fd47ac48c3471e69c0cc17 (diff)
downloadsamba-24cd656ab0cd6501e321661883ae564c8d548298.tar.gz
samba-24cd656ab0cd6501e321661883ae564c8d548298.tar.bz2
samba-24cd656ab0cd6501e321661883ae564c8d548298.zip
r174: Win95 registry files (like USER.DAT) can now be partially parsed
(This used to be commit dd31d3bcbfbb0ef7a96a1b86c1b4c54b650e9fd5)
Diffstat (limited to 'source4/lib/registry/reg_backend_nt4')
-rw-r--r--source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c b/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
index fd91b4fbe6..74d7bbd3b1 100644
--- a/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
+++ b/source4/lib/registry/reg_backend_nt4/reg_backend_nt4.c
@@ -487,7 +487,7 @@ typedef struct regf_struct_s {
HBIN_BLK *blk_head, *blk_tail, *free_space;
} REGF;
-DWORD str_to_dword(const char *a) {
+static DWORD str_to_dword(const char *a) {
int i;
unsigned long ret = 0;
for(i = strlen(a)-1; i >= 0; i--) {