X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fportab%2Fportabtest.c;h=055799eabb68be0a4ae88911a7b8e5b077e435f1;hb=7deacbaa11e237c987ba7d379a3162846cda8f2d;hp=48182ff70b8bfb663c6358dc5d680ac91e39293b;hpb=5efd0987f31f589ae24ff6502858ad823580cd77;p=ngircd-alex.git diff --git a/src/portab/portabtest.c b/src/portab/portabtest.c index 48182ff7..055799ea 100644 --- a/src/portab/portabtest.c +++ b/src/portab/portabtest.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: portabtest.c,v 1.10 2002/12/26 13:19:36 alex Exp $"; +static char UNUSED id[] = "$Id: portabtest.c,v 1.11 2003/01/04 10:40:01 alex Exp $"; #include "imp.h" #include @@ -41,11 +41,13 @@ main( VOID ) if( sizeof( INT32 ) != 4 ) Panic( "INT32", 1 ); if( sizeof( UINT32 ) != 4 ) Panic( "UINT32", 1 ); +#ifdef PROTOTYPES /* check functions */ if( ! snprintf ) Panic( "snprintf", 2 ); if( ! vsnprintf ) Panic( "vsnprintf", 2 ); if( ! strlcpy ) Panic( "strlcpy", 2 ); if( ! strlcat ) Panic( "strlcat", 2 ); +#endif /* ok, no error */ return 0;