]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/portab/portabtest.c
- Weitere Anpassungen an pre-ANSI-Compiler.
[ngircd-alex.git] / src / portab / portabtest.c
index a802f87bfe4e366efa63e244812c4c3f073f6709..f5e4a5e7c00558b8f9993c260ca28232ea11b7f5 100644 (file)
@@ -9,7 +9,7 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: portabtest.c,v 1.3 2002/03/12 21:47:40 alex Exp $
+ * $Id: portabtest.c,v 1.5 2002/05/30 16:52:20 alex Exp $
  *
  * portabtest.c: Testprogramm fuer portab.h
  */
 #include "exp.h"
 
 
-LOCAL BOOLEAN portab_check_types( VOID );
+LOCAL BOOLEAN portab_check_types PARAMS(( VOID ));
 
 
-GLOBAL INT main( VOID )
+GLOBAL int
+main( VOID )
 {
        INT ret = 0;
 
@@ -38,13 +39,14 @@ GLOBAL INT main( VOID )
        }
        else puts( "ok." );
 
-       puts( "- system type: "TARGET_CPU"/"TARGET_VENDOR"/"TARGET_OS );
+       printf( "- system type: %s/%s/%s\n", TARGET_CPU, TARGET_VENDOR, TARGET_OS );
 
        return ret;
 } /* main */
 
 
-LOCAL BOOLEAN portab_check_types( VOID )
+LOCAL BOOLEAN
+portab_check_types( VOID )
 {
        if( FALSE != 0 ) return 0;
        if( TRUE != 1 ) return 0;