From: Hallvard Furuseth Date: Sun, 22 Nov 1998 06:43:49 +0000 (+0000) Subject: gcc -W cleanup: Remove implicit int, remove unused idtest:usage() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~1053 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e2b8daf62bdcca9447a647bf2c9392cef1454170;p=openldap gcc -W cleanup: Remove implicit int, remove unused idtest:usage() --- diff --git a/libraries/liblber/etest.c b/libraries/liblber/etest.c index 0e80285025..6c407ddb59 100644 --- a/libraries/liblber/etest.c +++ b/libraries/liblber/etest.c @@ -23,6 +23,7 @@ static void usage( char *name ) fprintf( stderr, "usage: %s fmtstring\n", name ); } +int main( int argc, char **argv ) { #ifdef notdef diff --git a/libraries/liblber/idtest.c b/libraries/liblber/idtest.c index a35e098262..8d68fd6036 100644 --- a/libraries/liblber/idtest.c +++ b/libraries/liblber/idtest.c @@ -20,11 +20,7 @@ #include #endif -static usage( char *name ) -{ - fprintf( stderr, "usage: %s\n", name ); -} - +int main( int argc, char **argv ) { #ifdef HAVE_PSAP_H