From: Gary Williams Date: Wed, 14 Apr 1999 14:10:09 +0000 (+0000) Subject: move starttime to mimic.c, change exit to return X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~188 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25474efe940d7fdc8844945a91750379905e7734;p=openldap move starttime to mimic.c, change exit to return --- diff --git a/servers/slapd/tools/ldif2id2children.c b/servers/slapd/tools/ldif2id2children.c index 81bf3743a5..6c36ee546e 100644 --- a/servers/slapd/tools/ldif2id2children.c +++ b/servers/slapd/tools/ldif2id2children.c @@ -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 ); } diff --git a/servers/slapd/tools/ldif2id2entry.c b/servers/slapd/tools/ldif2id2entry.c index c1de219d7f..6f80b282e0 100644 --- a/servers/slapd/tools/ldif2id2entry.c +++ b/servers/slapd/tools/ldif2id2entry.c @@ -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 ); } diff --git a/servers/slapd/tools/ldif2index.c b/servers/slapd/tools/ldif2index.c index a6fd45bec6..d7efa59f76 100644 --- a/servers/slapd/tools/ldif2index.c +++ b/servers/slapd/tools/ldif2index.c @@ -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 ); }