1 /*---------------------------------------------------------------------------*
2   Project:  rsodemo
3   File:     sub.c
4 
5   Copyright 2006 Nintendo. All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law. They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   @version $Id: sub.c,v 1.2 2008/06/13 04:43:46 mitu Exp $
14 
15   $NoKeywords: $
16   *---------------------------------------------------------------------------*/
17 
18 #include <revolution.h>
19 
20 #include <revolution/rso.h>
21 
22 #define DLL_EXPORT    extern
23 #define DLL_SYMBOL(s) (*s)
24 
25 #include "d.h"
26 
27 #undef DLL_EXPORT
28 #undef DLL_SYMBOL
29 
30 //
31 extern void sub(void);
32 
33 //
sub(void)34 void sub(void)
35 {
36     OSReport("\n-- sub start --\n");
37     FuncD_1(2);
38     FuncD_2(4,5);
39     OSReport("\n-- sub end --\n");
40 }
41 
42