diff options
author | Jeremy Allison <jra@samba.org> | 2000-10-06 18:13:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-10-06 18:13:52 +0000 |
commit | dfe77c7046cbd65ee52aea7439f21503c1eac41d (patch) | |
tree | 31f50133199395ecc388d39ae04db91e628b1528 /source/profile | |
parent | e451fd346105d5d34354ff9141d445b5f1a82e0a (diff) | |
download | samba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.tar.gz samba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.tar.xz samba-dfe77c7046cbd65ee52aea7439f21503c1eac41d.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.
Diffstat (limited to 'source/profile')
-rw-r--r-- | source/profile/profile.c | 11 |
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 |