From 0e1b60e8c3325a1e5ea77f420326b254d5404389 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 2 Oct 2014 12:52:05 +0000 Subject: profiling: Move some #defines to profile.c Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/smbprofile.h | 4 ---- source3/profile/profile.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h index fd17b7afea..3040aa0918 100644 --- a/source3/include/smbprofile.h +++ b/source3/include/smbprofile.h @@ -24,10 +24,6 @@ /* this file defines the profile structure in the profile shared memory area */ -#define PROF_SHMEM_KEY ((key_t)0x07021999) -#define PROF_SHM_MAGIC 0x6349985 -#define PROF_SHM_VERSION 13 - /* time values in the following structure are in microseconds */ #define __profile_stats_value(which, domain) domain[which] diff --git a/source3/profile/profile.c b/source3/profile/profile.c index e0e468450b..9ef2c69ff6 100644 --- a/source3/profile/profile.c +++ b/source3/profile/profile.c @@ -25,6 +25,10 @@ #include "messages.h" #include "smbprofile.h" +#define PROF_SHMEM_KEY ((key_t)0x07021999) +#define PROF_SHM_MAGIC 0x6349985 +#define PROF_SHM_VERSION 13 + #ifdef WITH_PROFILE #define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH) #endif /* WITH_PROFILE */ -- cgit