summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile_preg.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 16:37:56 +0200
commit23302413b3fc9cb3695a255b1ea6883f029b46fe (patch)
tree065ce04233442328b558846d7ae8d54a8d65fffd /source4/lib/registry/patchfile_preg.c
parentf7692d16e3dc5e580364852c709c6c4a371dd32e (diff)
downloadsamba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.gz
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.tar.bz2
samba-23302413b3fc9cb3695a255b1ea6883f029b46fe.zip
Remove unused include param/param.h.
Diffstat (limited to 'source4/lib/registry/patchfile_preg.c')
-rw-r--r--source4/lib/registry/patchfile_preg.c3
1 files changed, 1 insertions, 2 deletions
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;
}