s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_*

This commit is contained in:
Hallvard Furuseth 1999-08-04 06:05:05 +00:00
parent c0a0028c43
commit 023e18fb4a
7 changed files with 8 additions and 5 deletions

View file

@ -2,6 +2,7 @@
#include <stdio.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>
#include <ac/string.h>

View file

@ -368,7 +368,7 @@ main( int argc, char **argv )
slap_shutdown(-1);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}
static void

View file

@ -243,5 +243,5 @@ main( int argc, char **argv )
slap_shutdown(dbnum);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}

View file

@ -135,5 +135,5 @@ main( int argc, char **argv )
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}

View file

@ -108,5 +108,5 @@ main( int argc, char **argv )
slap_shutdown(dbnum);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}

View file

@ -2,6 +2,7 @@
#include <stdio.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/ctype.h>
#include <ac/socket.h>

View 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