summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/ldb_ildap/ldb_ildap.c1
-rw-r--r--source4/lib/messaging/messaging.c1
-rw-r--r--source4/lib/registry/patchfile.c1
-rw-r--r--source4/lib/registry/patchfile_dotreg.c1
-rw-r--r--source4/lib/registry/patchfile_preg.c3
-rw-r--r--source4/lib/registry/regf.c1
-rw-r--r--source4/lib/registry/util.c1
-rw-r--r--source4/lib/socket/connect.c1
-rw-r--r--source4/lib/socket/connect_multi.c1
-rw-r--r--source4/lib/socket/interface.c1
-rw-r--r--source4/lib/tdr/tdr.c1
-rw-r--r--source4/lib/wmi/wmicore.c1
12 files changed, 1 insertions, 13 deletions
diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
index 4aa71e6036..93e81d4244 100644
--- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c
+++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
@@ -49,7 +49,6 @@
#include "libcli/ldap/ldap_client.h"
#include "auth/auth.h"
#include "auth/credentials/credentials.h"
-#include "param/param.h"
struct ildb_private {
struct ldap_connection *ldap;
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c
index dcc29180cc..ff9ef8afc5 100644
--- a/source4/lib/messaging/messaging.c
+++ b/source4/lib/messaging/messaging.c
@@ -33,7 +33,6 @@
#include "../tdb/include/tdb.h"
#include "../lib/util/util_tdb.h"
#include "cluster/cluster.h"
-#include "param/param.h"
/* change the message version with any incompatible changes in the protocol */
#define MESSAGING_VERSION 1
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
diff --git a/source4/lib/socket/connect.c b/source4/lib/socket/connect.c
index 773bf41873..2b64668b9b 100644
--- a/source4/lib/socket/connect.c
+++ b/source4/lib/socket/connect.c
@@ -26,7 +26,6 @@
#include "lib/events/events.h"
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
-#include "param/param.h"
struct connect_state {
diff --git a/source4/lib/socket/connect_multi.c b/source4/lib/socket/connect_multi.c
index 2f736a4b05..98b4d405b3 100644
--- a/source4/lib/socket/connect_multi.c
+++ b/source4/lib/socket/connect_multi.c
@@ -26,7 +26,6 @@
#include "lib/events/events.h"
#include "libcli/composite/composite.h"
#include "libcli/resolve/resolve.h"
-#include "param/param.h"
#define MULTI_PORT_DELAY 2000 /* microseconds */
diff --git a/source4/lib/socket/interface.c b/source4/lib/socket/interface.c
index 524aa09655..af81804911 100644
--- a/source4/lib/socket/interface.c
+++ b/source4/lib/socket/interface.c
@@ -23,7 +23,6 @@
#include "system/network.h"
#include "lib/socket/netif.h"
#include "../lib/util/dlinklist.h"
-#include "param/param.h"
/** used for network interfaces */
struct interface {
diff --git a/source4/lib/tdr/tdr.c b/source4/lib/tdr/tdr.c
index fd5f3cac60..2d1d1ca7e1 100644
--- a/source4/lib/tdr/tdr.c
+++ b/source4/lib/tdr/tdr.c
@@ -24,7 +24,6 @@
#include "system/filesys.h"
#include "system/network.h"
#include "tdr/tdr.h"
-#include "param/param.h"
#define TDR_BASE_MARSHALL_SIZE 1024
diff --git a/source4/lib/wmi/wmicore.c b/source4/lib/wmi/wmicore.c
index 3ac6c89292..a853f26035 100644
--- a/source4/lib/wmi/wmicore.c
+++ b/source4/lib/wmi/wmicore.c
@@ -26,7 +26,6 @@
#include "librpc/gen_ndr/com_wmi.h"
#include "librpc/rpc/dcerpc.h"
#include "librpc/ndr/ndr_table.h"
-#include "param/param.h"
struct IWbemServices;
struct IWbemContext;