mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_*
This commit is contained in:
parent
c0a0028c43
commit
023e18fb4a
7 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue