summaryrefslogtreecommitdiff
path: root/source/profile
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
committerJeremy Allison <jra@samba.org>2000-10-06 18:13:52 +0000
commitdfe77c7046cbd65ee52aea7439f21503c1eac41d (patch)
tree31f50133199395ecc388d39ae04db91e628b1528 /source/profile
parente451fd346105d5d34354ff9141d445b5f1a82e0a (diff)
downloadsamba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.tar.gz
Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy.
Diffstat (limited to 'source/profile')
-rw-r--r--source/profile/profile.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c
index c2d9b4ce89e..5b8b280c293 100644
--- a/source/profile/profile.c
+++ b/source/profile/profile.c
@@ -22,7 +22,6 @@
#include "includes.h"
-#ifdef WITH_PROFILE
#include <sys/shm.h>
extern int DEBUGLEVEL;
@@ -34,6 +33,11 @@ static BOOL read_only;
struct profile_struct *profile_p;
+BOOL do_profile_flag = False;
+
+struct timeval profile_starttime;
+struct timeval profile_endtime;
+
/*******************************************************************
open the profiling shared memory area
******************************************************************/
@@ -99,10 +103,7 @@ BOOL profile_setup(BOOL rdonly)
DEBUG(3,("Initialised profile area\n"));
}
+ do_profile_flag = True; /* temp for now */
return True;
}
-#else
- /* to keep compilers happy about empty modules */
- void profile_dummy(void) {}
-#endif