diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-03-19 00:45:56 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-05-17 09:17:05 +0200 |
commit | 1f6990524cf54325cf76ba01bc26e7423895f578 (patch) | |
tree | 9afc857456dc6c5774ccfc09754714048d556eb4 /libcli | |
parent | 72e728357b4131b00470f07c48353b3a8bd59fd6 (diff) | |
download | samba-1f6990524cf54325cf76ba01bc26e7423895f578.tar.gz samba-1f6990524cf54325cf76ba01bc26e7423895f578.tar.xz samba-1f6990524cf54325cf76ba01bc26e7423895f578.zip |
libcli/: Fix prototypes for all functions.(cherry picked from commit fa387825e2a4563ff85267848d8e9d206bf6db96)
(cherry picked from commit 28cba271e61245b166d002745737c5fedae80c0c)
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/echo/tests/echo.c | 2 | ||||
-rw-r--r-- | libcli/nbt/dns_hosts_file.c | 1 | ||||
-rw-r--r-- | libcli/security/pysecurity.c | 2 | ||||
-rw-r--r-- | libcli/security/secacl.c | 1 | ||||
-rw-r--r-- | libcli/util/error.h | 2 |
5 files changed, 8 insertions, 0 deletions
diff --git a/libcli/echo/tests/echo.c b/libcli/echo/tests/echo.c index 77a7dfa677f..c47b7d0d0fc 100644 --- a/libcli/echo/tests/echo.c +++ b/libcli/echo/tests/echo.c @@ -26,6 +26,8 @@ #include "libcli/util/ntstatus.h" #include "libcli/echo/libecho.h" +NTSTATUS torture_libcli_echo_init(void); + /* Basic test function that sends an echo request and checks the reply */ static bool echo_udp_basic(struct torture_context *tctx, const char *address) { diff --git a/libcli/nbt/dns_hosts_file.c b/libcli/nbt/dns_hosts_file.c index 810e4ebb0c9..c6491a925e9 100644 --- a/libcli/nbt/dns_hosts_file.c +++ b/libcli/nbt/dns_hosts_file.c @@ -28,6 +28,7 @@ #include "lib/util/util_net.h" #include "system/filesys.h" #include "system/network.h" +#include "libcli/nbt/libnbt.h" /******************************************************** Start parsing the dns_hosts_file file. diff --git a/libcli/security/pysecurity.c b/libcli/security/pysecurity.c index 56bdd69b4c7..87134bf1044 100644 --- a/libcli/security/pysecurity.c +++ b/libcli/security/pysecurity.c @@ -23,6 +23,8 @@ #include "libcli/security/security.h" #include "pytalloc.h" +void initsecurity(void); + static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *kwargs) { NTSTATUS nt_status; diff --git a/libcli/security/secacl.c b/libcli/security/secacl.c index 9c04df81d1e..47184ae96fc 100644 --- a/libcli/security/secacl.c +++ b/libcli/security/secacl.c @@ -23,6 +23,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_security.h" #include "libcli/security/secace.h" +#include "libcli/security/secacl.h" #define SEC_ACL_HEADER_SIZE (2 * sizeof(uint16_t) + sizeof(uint32_t)) diff --git a/libcli/util/error.h b/libcli/util/error.h index 77a2f5a4334..7b7de6c4f0f 100644 --- a/libcli/util/error.h +++ b/libcli/util/error.h @@ -51,4 +51,6 @@ convert a Unix error code to a WERROR *********************************************************************/ WERROR unix_to_werror(int unix_error); +NTSTATUS nt_status_squash(NTSTATUS nt_status); + #endif /* _SAMBA_ERROR_H */ |