From 23302413b3fc9cb3695a255b1ea6883f029b46fe Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 24 Oct 2008 16:37:56 +0200 Subject: Remove unused include param/param.h. --- source4/lib/registry/patchfile.c | 1 - source4/lib/registry/patchfile_dotreg.c | 1 - source4/lib/registry/patchfile_preg.c | 3 +-- source4/lib/registry/regf.c | 1 - source4/lib/registry/util.c | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) (limited to 'source4/lib/registry') diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c index 06db3b36ba..925806985e 100644 --- a/source4/lib/registry/patchfile.c +++ b/source4/lib/registry/patchfile.c @@ -23,7 +23,6 @@ #include "includes.h" #include "lib/registry/registry.h" #include "system/filesys.h" -#include "param/param.h" _PUBLIC_ WERROR reg_preg_diff_load(int fd, diff --git a/source4/lib/registry/patchfile_dotreg.c b/source4/lib/registry/patchfile_dotreg.c index 1bc9c60753..3b5708978d 100644 --- a/source4/lib/registry/patchfile_dotreg.c +++ b/source4/lib/registry/patchfile_dotreg.c @@ -25,7 +25,6 @@ #include "includes.h" #include "lib/registry/registry.h" #include "system/filesys.h" -#include "param/param.h" /** * @file diff --git a/source4/lib/registry/patchfile_preg.c b/source4/lib/registry/patchfile_preg.c index bb46495c19..26b57e4f45 100644 --- a/source4/lib/registry/patchfile_preg.c +++ b/source4/lib/registry/patchfile_preg.c @@ -22,7 +22,6 @@ #include "includes.h" #include "lib/registry/registry.h" #include "system/filesys.h" -#include "param/param.h" #include "librpc/gen_ndr/winreg.h" struct preg_data { @@ -48,7 +47,7 @@ static WERROR preg_write_utf16(struct smb_iconv_convenience *ic, int fd, const c size_t size; for (i = 0; i < strlen(string); i+=size) { - v = next_codepoint(ic, &string[i], &size); + v = next_codepoint_convenience(ic, &string[i], &size); if (write(fd, &v, 2) < 2) { return WERR_GENERAL_FAILURE; } diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c index dd3ff47b78..a869ed4440 100644 --- a/source4/lib/registry/regf.c +++ b/source4/lib/registry/regf.c @@ -23,7 +23,6 @@ #include "lib/registry/tdr_regf.h" #include "librpc/gen_ndr/ndr_security.h" #include "librpc/gen_ndr/winreg.h" -#include "param/param.h" #include "lib/registry/registry.h" #include "libcli/security/security.h" diff --git a/source4/lib/registry/util.c b/source4/lib/registry/util.c index 471c425002..38f994f386 100644 --- a/source4/lib/registry/util.c +++ b/source4/lib/registry/util.c @@ -20,7 +20,6 @@ #include "includes.h" #include "lib/registry/registry.h" #include "librpc/gen_ndr/winreg.h" -#include "param/param.h" /** * @file -- cgit