From: Hallvard Furuseth Date: Wed, 4 Aug 1999 06:05:05 +0000 (+0000) Subject: s/return 0/return EXIT_SUCCESS/ in main(), #include to get EXIT_* X-Git-Tag: TWEB_OL_BASE~293 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=023e18fb4aed946e798feb5d7a19eca135bcc2a0;p=openldap s/return 0/return EXIT_SUCCESS/ in main(), #include to get EXIT_* --- diff --git a/servers/slapd/tools/ldbmcat.c b/servers/slapd/tools/ldbmcat.c index 39d165c6da..6ee8a2850c 100644 --- a/servers/slapd/tools/ldbmcat.c +++ b/servers/slapd/tools/ldbmcat.c @@ -2,6 +2,7 @@ #include +#include #include #include #include diff --git a/servers/slapd/tools/ldbmtest.c b/servers/slapd/tools/ldbmtest.c index 94df7d3901..ba787e9f7e 100644 --- a/servers/slapd/tools/ldbmtest.c +++ b/servers/slapd/tools/ldbmtest.c @@ -368,7 +368,7 @@ main( int argc, char **argv ) slap_shutdown(-1); slap_destroy(); - return( 0 ); + return( EXIT_SUCCESS ); } static void diff --git a/servers/slapd/tools/ldif2id2children.c b/servers/slapd/tools/ldif2id2children.c index bd146e6447..5f224bb86d 100644 --- a/servers/slapd/tools/ldif2id2children.c +++ b/servers/slapd/tools/ldif2id2children.c @@ -243,5 +243,5 @@ main( int argc, char **argv ) slap_shutdown(dbnum); slap_destroy(); - return( 0 ); + return( EXIT_SUCCESS ); } diff --git a/servers/slapd/tools/ldif2id2entry.c b/servers/slapd/tools/ldif2id2entry.c index 52ad2ff060..4bb03c9b2b 100644 --- a/servers/slapd/tools/ldif2id2entry.c +++ b/servers/slapd/tools/ldif2id2entry.c @@ -135,5 +135,5 @@ main( int argc, char **argv ) slap_destroy(); - return( 0 ); + return( EXIT_SUCCESS ); } diff --git a/servers/slapd/tools/ldif2index.c b/servers/slapd/tools/ldif2index.c index ed488175af..f2760549d2 100644 --- a/servers/slapd/tools/ldif2index.c +++ b/servers/slapd/tools/ldif2index.c @@ -108,5 +108,5 @@ main( int argc, char **argv ) slap_shutdown(dbnum); slap_destroy(); - return( 0 ); + return( EXIT_SUCCESS ); } diff --git a/servers/slapd/tools/ldif2ldbm-bdb2.c b/servers/slapd/tools/ldif2ldbm-bdb2.c index d70391c1a0..46fabe677a 100644 --- a/servers/slapd/tools/ldif2ldbm-bdb2.c +++ b/servers/slapd/tools/ldif2ldbm-bdb2.c @@ -2,6 +2,7 @@ #include +#include #include #include #include diff --git a/servers/slapd/tools/ldif2ldbm.c b/servers/slapd/tools/ldif2ldbm.c index 84ed71c4a0..00bf438380 100644 --- a/servers/slapd/tools/ldif2ldbm.c +++ b/servers/slapd/tools/ldif2ldbm.c @@ -2,6 +2,7 @@ #include +#include #include #include #include @@ -193,7 +194,7 @@ main( int argc, char **argv ) slap_destroy(); - return( 0 ); + return( EXIT_SUCCESS ); } #ifdef WIN32