summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h3
-rw-r--r--source3/include/proto.h5
-rw-r--r--source3/include/smbprofile.h5
3 files changed, 5 insertions, 8 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 1e4800d327..5d6e554ede 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -567,9 +567,6 @@ enum flush_reason_enum {
#include "proto.h"
#endif
-/* We need this after proto.h to reference GetTimeOfDay(). */
-#include "smbprofile.h"
-
/* String routines */
#include "srvstr.h"
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5b96bdfbeb..be2915f4c5 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2647,11 +2647,6 @@ void set_server_role(void);
uint32 get_int_param( const char* param );
char* get_string_param( const char* param );
-/* The following definitions come from profile/profile.c */
-
-void set_profile_level(int level, struct server_id src);
-bool profile_setup(struct messaging_context *msg_ctx, bool rdonly);
-
/* The following definitions come from librpc/rpc/rpc_common.c */
struct ndr_interface_table;
bool smb_register_ndr_interface(const struct ndr_interface_table *interface);
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h
index 3041f6c87e..4f5b6002fc 100644
--- a/source3/include/smbprofile.h
+++ b/source3/include/smbprofile.h
@@ -966,4 +966,9 @@ static inline uint64_t profile_timestamp(void)
#define END_PROFILE(x)
#endif /* WITH_PROFILE */
+/* The following definitions come from profile/profile.c */
+
+void set_profile_level(int level, struct server_id src);
+bool profile_setup(struct messaging_context *msg_ctx, bool rdonly);
+
#endif