Fixed them to compile
[fw/sdcc] / support / regression / tests / bug-223113.c
1 #include <testfwk.h>
2
3 /* 
4  *------------------------------------------------- 
5  */ 
6    int putch( int Ch ) 
7
8     return( Ch ); 
9
10  /* 
11   *  *------------------------------------------------- 
12   *  */ 
13  int puts( char *Str ) 
14
15     char *Ptr; 
16    
17     for( Ptr = Str; *Ptr != '\0'; Ptr++ ) 
18      { 
19          putch( *Ptr ); 
20      } 
21    
22     return( (Ptr - Str) ); 
23
24  /* 
25   *  *-------------------------------------------------- 
26   *  */ 
27  void __main( void ) 
28
29     puts( "hello world\n" ); 
30
31  /* 
32   *  *---------------------------------------------------- 
33   *  */