r5300: more uint32 and system/filesys.h build fixes when developer mode is enabled
authorAndrew Tridgell <tridge@samba.org>
Thu, 10 Feb 2005 05:22:53 +0000 (05:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:39 +0000 (13:09 -0500)
(This used to be commit 93931b1a741a3722c311ada80c4c9d3d670f91b2)

source4/gtk/tools/gwcrontab.c
source4/lib/tdb/tools/tdbtest.c
source4/libcli/auth/gensec_gssapi.c
source4/libcli/auth/gensec_krb5.c
source4/libcli/auth/kerberos.c
source4/libcli/auth/kerberos_verify.c
source4/rpc_server/remote/dcesrv_remote.c
source4/utils/ntlm_auth.c

index 063469e334321a697194933767e0eda6ebb6c5fb..580bbc2ae3d1ddae70bc3918d6c2f92ca75c7fe7 100644 (file)
@@ -41,7 +41,7 @@ void update_joblist(void)
        struct atsvc_JobEnum r;
        struct atsvc_enum_ctr ctr;
        int i;
-       uint32 resume_handle = 0;
+       uint32_t resume_handle = 0;
 
         gtk_list_store_clear(store_jobs);
 
index 0a2185d6b87a2a5b286012d1144aeac046772b5a..e55d08f840543c83f0952512c6fcaf709499d55a 100644 (file)
@@ -16,6 +16,7 @@
 #else
 
 #include "includes.h"
+#include "system/filesys.h"
 #include "lib/tdb/include/tdb.h"
 
 #endif
index 43113412f722c40c0418656e3322f1a479c06c24..41f36b27031b308b5906f0850619ab9cf956f32f 100644 (file)
@@ -316,7 +316,7 @@ static NTSTATUS gensec_gssapi_unwrap(struct gensec_security *gensec_security,
 }
 
 static BOOL gensec_gssapi_have_feature(struct gensec_security *gensec_security, 
-                                      uint32 feature) 
+                                      uint32_t feature) 
 {
        struct gensec_gssapi_state *gensec_gssapi_state = gensec_security->private_data;
        if (feature & GENSEC_FEATURE_SIGN) {
index e5bfd3865a4bf88e0295b998d87e9bc43830e322..a0c2a77f4b2dbf4a2a60e0e99ae06e10df6801e2 100644 (file)
@@ -489,7 +489,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security,
        {
                krb5_data inbuf;
                krb5_ap_rep_enc_part *repl = NULL;
-               uint8 tok_id[2];
+               uint8_t tok_id[2];
                DATA_BLOB unwrapped_in;
 
                if (!gensec_gssapi_parse_krb5_wrap(out_mem_ctx, &in, &unwrapped_in, tok_id)) {
@@ -525,7 +525,7 @@ static NTSTATUS gensec_krb5_update(struct gensec_security *gensec_security,
                char *principal;
                DATA_BLOB unwrapped_in;
                DATA_BLOB unwrapped_out = data_blob(NULL, 0);
-               uint8 tok_id[2];
+               uint8_t tok_id[2];
 
                if (!in.data) {
                        *out = unwrapped_out;
@@ -689,7 +689,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
 }
 
 static BOOL gensec_krb5_have_feature(struct gensec_security *gensec_security,
-                                    uint32 feature)
+                                    uint32_t feature)
 {
        if (feature & GENSEC_FEATURE_SESSION_KEY) {
                return True;
index a8d9d75a1e61c38a1cd533f1df876123ac3bf2f7..4bf9e626cebd0a831e024dbe03432752fdb9854e 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/auth/kerberos.h"
 #include "system/time.h"
 #include "secrets.h"
+#include "pstring.h"
 
 #ifdef HAVE_KRB5
 
index b089d633ed8ee651250b60ab2ed28abc95f59dbd..2aef38fcd9eb2e0475c3fea90450f475cd5f9780 100644 (file)
@@ -28,6 +28,7 @@
 #include "asn_1.h"
 #include "lib/ldb/include/ldb.h"
 #include "secrets.h"
+#include "pstring.h"
 
 #ifdef HAVE_KRB5
 
index fc8c8a670608ea8e5c4951c3289dcebbeed00512..ee526e1978f0ab692d29d332e32301944ce1646c 100644 (file)
@@ -164,7 +164,7 @@ static NTSTATUS remote_register_one_iface(struct dcesrv_context *dce_ctx, const
 static NTSTATUS remote_op_init_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
 {
        int i;
-       char **ifaces = str_list_make(dce_ctx, lp_parm_string(-1,"dcerpc_remote","interfaces"),NULL);
+       const char **ifaces = str_list_make(dce_ctx, lp_parm_string(-1,"dcerpc_remote","interfaces"),NULL);
 
        if (!ifaces) {
                DEBUG(3,("remote_op_init_server: no interfaces configured\n"));
index 3c46b0ca702e75d7bbf93ba4587074b53039798b..b527504046d53eb0c51677a741395f84d64070e1 100644 (file)
@@ -24,8 +24,8 @@
 
 #include "includes.h"
 #include "dynconfig.h"
-#include "system/passwd.h"
 #include "system/filesys.h"
+#include "system/passwd.h"
 #include "lib/cmdline/popt_common.h"
 #include "auth/auth.h"
 #include "libcli/security/security.h"