mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-28 17:47:33 -05:00
move starttime to mimic.c, change exit to return
This commit is contained in:
parent
2ee58372bb
commit
25474efe94
3 changed files with 3 additions and 15 deletions
|
|
@ -12,10 +12,6 @@
|
|||
#include "../slap.h"
|
||||
#include "../back-ldbm/back-ldbm.h"
|
||||
|
||||
#ifdef WIN32
|
||||
time_t starttime;
|
||||
#endif
|
||||
|
||||
#include "ldif.h"
|
||||
|
||||
#define MAXARGS 100
|
||||
|
|
@ -313,5 +309,5 @@ main( int argc, char **argv )
|
|||
slap_shutdown(dbnum);
|
||||
slap_destroy();
|
||||
|
||||
exit( 0 );
|
||||
return( 0 );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@
|
|||
#include "../slap.h"
|
||||
#include "../back-ldbm/back-ldbm.h"
|
||||
|
||||
#ifdef WIN32
|
||||
time_t starttime;
|
||||
#endif
|
||||
|
||||
#define MAXARGS 100
|
||||
|
||||
static char *tailorfile;
|
||||
|
|
@ -205,5 +201,5 @@ main( int argc, char **argv )
|
|||
|
||||
slap_destroy();
|
||||
|
||||
exit( 0 );
|
||||
return( 0 );
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,10 +14,6 @@
|
|||
#include "ldapconfig.h"
|
||||
#include "ldif.h"
|
||||
|
||||
#ifdef WIN32
|
||||
time_t starttime;
|
||||
#endif
|
||||
|
||||
#define MAXARGS 100
|
||||
|
||||
static void
|
||||
|
|
@ -175,5 +171,5 @@ main( int argc, char **argv )
|
|||
slap_shutdown(dbnum);
|
||||
slap_destroy();
|
||||
|
||||
exit( 0 );
|
||||
return( 0 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue