summaryrefslogtreecommitdiff
path: root/source3/include/smbprofile.h
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2007-01-24 14:53:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:25 -0500
commit109bebe1f877ab2981a5c0d14ad0982a62436520 (patch)
tree8174effa3142e1c6d8a946a1cefeb367a58a70e4 /source3/include/smbprofile.h
parenta31f10c99edd7cb80d62d377c8efead5a4846b40 (diff)
downloadsamba-109bebe1f877ab2981a5c0d14ad0982a62436520.tar.gz
samba-109bebe1f877ab2981a5c0d14ad0982a62436520.tar.bz2
samba-109bebe1f877ab2981a5c0d14ad0982a62436520.zip
r21002: Get rid of unused macros - merge change from 3_0_24
(This used to be commit 9d23cf0cc4a8974bf0cf74b219a1138383083360)
Diffstat (limited to 'source3/include/smbprofile.h')
-rw-r--r--source3/include/smbprofile.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h
index 867f87515e..48a44948dc 100644
--- a/source3/include/smbprofile.h
+++ b/source3/include/smbprofile.h
@@ -757,10 +757,6 @@ struct profile_header {
extern struct profile_header *profile_h;
extern struct profile_stats *profile_p;
-extern struct timeval profile_starttime;
-extern struct timeval profile_endtime;
-extern struct timeval profile_starttime_nested;
-extern struct timeval profile_endtime_nested;
extern BOOL do_profile_flag;
extern BOOL do_profile_times;
@@ -846,8 +842,6 @@ static inline SMB_BIG_UINT profile_timestamp(void)
profile_timestamp() - __profstamp_##x); \
}
-#define START_PROFILE_NESTED(x) START_PROFILE(x)
-#define END_PROFILE_NESTED(x) END_PROFILE(x)
#else /* WITH_PROFILE */
@@ -856,10 +850,8 @@ static inline SMB_BIG_UINT profile_timestamp(void)
#define DO_PROFILE_DEC_INC(x,y)
#define DO_PROFILE_ADD(x,n)
#define START_PROFILE(x)
-#define START_PROFILE_NESTED(x)
#define START_PROFILE_BYTES(x,n)
#define END_PROFILE(x)
-#define END_PROFILE_NESTED(x)
#endif /* WITH_PROFILE */