]> git.sur5r.net Git - openldap/commitdiff
move starttime to mimic.c, change exit to return
authorGary Williams <gwilliams@openldap.org>
Wed, 14 Apr 1999 14:10:09 +0000 (14:10 +0000)
committerGary Williams <gwilliams@openldap.org>
Wed, 14 Apr 1999 14:10:09 +0000 (14:10 +0000)
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2id2entry.c
servers/slapd/tools/ldif2index.c

index 81bf3743a5f8e8fabc80320d7eeb08f4875e5a84..6c36ee546e8bc28caa31f28ec0d9d8c2786cc9f9 100644 (file)
 #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 );
 }
index c1de219d7f0b0414b1211bafb91aadc248a9901c..6f80b282e096eaaa87a0b6a014401da310747449 100644 (file)
 #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 );
 }
index a6fd45bec6ab6ec63470cc9124772d611ed0ee6c..d7efa59f76ffdb2abf731aedc0e52fd3aacde8c0 100644 (file)
 #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 );
 }