Skip to content
Snippets Groups Projects
Commit 023e18fb authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

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

parent c0a0028c
Branches
Tags
No related merge requests found
......@@ -2,6 +2,7 @@
#include <stdio.h>
#include <ac/stdlib.h>
#include <ac/ctype.h>
#include <ac/socket.h>
#include <ac/string.h>
......
......@@ -368,7 +368,7 @@ main( int argc, char **argv )
slap_shutdown(-1);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}
static void
......
......@@ -243,5 +243,5 @@ main( int argc, char **argv )
slap_shutdown(dbnum);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}
......@@ -135,5 +135,5 @@ main( int argc, char **argv )
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}
......@@ -108,5 +108,5 @@ main( int argc, char **argv )
slap_shutdown(dbnum);
slap_destroy();
return( 0 );
return( EXIT_SUCCESS );
}
......@@ -2,6 +2,7 @@
#include <stdio.h>
#include <ac/stdlib.h>
#include <ac/string.h>
#include <ac/ctype.h>
#include <ac/socket.h>
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment