X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslurpd%2Fsanity.c;h=d666f65da0802bd69a6a834b2ccf9488e0141ac0;hb=9568a013a8793ab5eddc2acb5c8027fb5a757a0c;hp=04be7db86af87d728e9f03c83735cd62d3587613;hpb=42e0d83cb3a1a1c5b25183f1ab74ce7edbe25de7;p=openldap diff --git a/servers/slurpd/sanity.c b/servers/slurpd/sanity.c index 04be7db86a..d666f65da0 100644 --- a/servers/slurpd/sanity.c +++ b/servers/slurpd/sanity.c @@ -18,13 +18,15 @@ * feedback to the users. */ +#include "portable.h" + #include -#include -#include + +#include +#include #include "slurp.h" #include "globals.h" -#include "portable.h" #define FC_DIRBAD 1 #define FC_DIRUNREAD 2 @@ -37,11 +39,7 @@ /* * Forward declarations */ -#ifdef NEEDPROTOS -static unsigned int filecheck( char * ); -#else /* NEEDPROTOS */ -static unsigned int filecheck(); -#endif /* NEEDPROTOS */ +static unsigned int filecheck LDAP_P(( char * )); @@ -58,7 +56,7 @@ static unsigned int filecheck(); */ int -sanity() +sanity( void ) { int err = 0; int rc; @@ -201,4 +199,3 @@ filecheck( return ret; } -