From 25474efe940d7fdc8844945a91750379905e7734 Mon Sep 17 00:00:00 2001 From: Gary Williams Date: Wed, 14 Apr 1999 14:10:09 +0000 Subject: [PATCH] move starttime to mimic.c, change exit to return --- servers/slapd/tools/ldif2id2children.c | 6 +----- servers/slapd/tools/ldif2id2entry.c | 6 +----- servers/slapd/tools/ldif2index.c | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) 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 ); } -- 2.39.5