annotate test/static.c @ 567:790ecb8900f0

*** empty log message ***
author kono
date Wed, 11 Jan 2006 14:09:27 +0900
parents 293f827ccfb2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
467
32737bad7489 fix list/tag interference
kono
parents: 427
diff changeset
1 int printf(const char *format, ...);
157
kono
parents:
diff changeset
2
553
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
3 #ifndef INLINE
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
4 #define INLINE
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
5 #endif
157
kono
parents:
diff changeset
6
553
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
7 INLINE void
157
kono
parents:
diff changeset
8 f()
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 static int count = 55;
kono
parents:
diff changeset
11 static int count1;
kono
parents:
diff changeset
12
553
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
13 printf("#0012:%d %d\n",count++,count1++);
157
kono
parents:
diff changeset
14
kono
parents:
diff changeset
15 }
553
293f827ccfb2 Linux kernel source compiled.
kono
parents: 491
diff changeset
16 int
157
kono
parents:
diff changeset
17 main()
kono
parents:
diff changeset
18 {
kono
parents:
diff changeset
19 f();
kono
parents:
diff changeset
20 f();
172
096559f07a70 some check
kono
parents: 157
diff changeset
21 return 0;
157
kono
parents:
diff changeset
22 }