add new bits to the compiler.h file
[newos.git] / apps / rldtest / shared.c
blob990de8f2a9cabcb9c076ed6f1a0ea3f08b663072
1 /*
2 ** Copyright 2002, Manuel J. Petit. All rights reserved.
3 ** Distributed under the terms of the NewOS License.
4 */
6 #include <stdio.h>
8 int fib(int);
9 int shared_hello(void);
11 int
12 fib(int n)
14 return (n<2)?1:fib(n-1)+fib(n-2);
17 int
18 shared_hello(void)
20 printf("hello from a dynamic shared world\n");
22 return 0;