summaryrefslogtreecommitdiff
path: root/source3/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
commitba00796e6dd13b87b7988a98e532676d9eab702c (patch)
tree6b53b1fae2ca229ab654bbff46b2e4dd7c4e489f /source3/profile
parent08657e539e4cd4105057a9c12db30dbe4bbfcb1d (diff)
downloadsamba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.gz
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.tar.bz2
samba-ba00796e6dd13b87b7988a98e532676d9eab702c.zip
Herb's warning fixes. Also the POSIX locking fix.
We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy. (This used to be commit dfe77c7046cbd65ee52aea7439f21503c1eac41d)
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index c2d9b4ce89..5b8b280c29 100644
--- a/source3/profile/profile.c
+++ b/source3/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