blob: 1f2022c0dfe01540ae98a35e531d07a0a8801392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "Trace.h"
// Listing 1 code/ch03
void foo (void);
int ACE_TMAIN (int, ACE_TCHAR *[])
{
TRACE ("main");
MY_DEBUG (ACE_TEXT ("Hi Mom\n"));
foo ();
MY_DEBUG (ACE_TEXT ("Goodnight\n"));
TRACE_RETURN (0);
}
void foo (void)
{
TRACE ("foo");
MY_DEBUG (ACE_TEXT ("Howdy Pardner\n"));
TRACE_RETURN_VOID ();
}
// Listing 1
|