]> git.sur5r.net Git - openldap/commitdiff
s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_*
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 4 Aug 1999 06:05:05 +0000 (06:05 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 4 Aug 1999 06:05:05 +0000 (06:05 +0000)
servers/slapd/tools/ldbmcat.c
servers/slapd/tools/ldbmtest.c
servers/slapd/tools/ldif2id2children.c
servers/slapd/tools/ldif2id2entry.c
servers/slapd/tools/ldif2index.c
servers/slapd/tools/ldif2ldbm-bdb2.c
servers/slapd/tools/ldif2ldbm.c

index 39d165c6daaeda0d03e6129b533545d963235e97..6ee8a2850c0f72d1e5443ad3669be80cc135b413 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 
+#include <ac/stdlib.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
 #include <ac/string.h>
index 94df7d390176eee341a549052c0c3f2ef9d2e3db..ba787e9f7e8c2e71c88cb4b18b4ec36b8d383773 100644 (file)
@@ -368,7 +368,7 @@ main( int argc, char **argv )
        slap_shutdown(-1);
        slap_destroy();
 
-       return( 0 );
+       return( EXIT_SUCCESS );
 }
 
 static void
index bd146e6447793f95fe929861ee896b07b191c1bc..5f224bb86d6d654add7d2c9af5c3c2b6d09eabfa 100644 (file)
@@ -243,5 +243,5 @@ main( int argc, char **argv )
        slap_shutdown(dbnum);
        slap_destroy();
 
-       return( 0 );
+       return( EXIT_SUCCESS );
 }
index 52ad2ff060ecb8fbac20810c9a9be158c4eda717..4bb03c9b2b436523f3103e19c563e9b6a8a39e4d 100644 (file)
@@ -135,5 +135,5 @@ main( int argc, char **argv )
 
        slap_destroy();
 
-       return( 0 );
+       return( EXIT_SUCCESS );
 }
index ed488175afda7fe847dcc1ab44dccb4fe378b705..f2760549d27ffab11c1adce5599118d44f30a10d 100644 (file)
@@ -108,5 +108,5 @@ main( int argc, char **argv )
        slap_shutdown(dbnum);
        slap_destroy();
 
-       return( 0 );
+       return( EXIT_SUCCESS );
 }
index d70391c1a0bc6c567a2206a52dc871c006616405..46fabe677a32a6413bff6c8c2c4e49d25eb952a6 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
index 84ed71c4a0868cb39dcde0bbc450ff392fcf8f1d..00bf4383806cc2984fd1ea9faa20a784dddb8589 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <stdio.h>
 
+#include <ac/stdlib.h>
 #include <ac/string.h>
 #include <ac/ctype.h>
 #include <ac/socket.h>
@@ -193,7 +194,7 @@ main( int argc, char **argv )
 
        slap_destroy();
 
-       return( 0 );
+       return( EXIT_SUCCESS );
 }
 
 #ifdef WIN32