annotate symbol-c.c @ 3:f03bba45ae77

*** empty log message ***
author kinjo
date Sun, 11 Dec 2005 21:46:14 +0900
parents
children daa6a4e92480
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
1 extern int printf(char*,...);
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
2
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
3 void test_func(){
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
4 }
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
5 unsigned long addrs[]={
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
6 (unsigned long)test_func,
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
7 0,
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
8 };
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
9 int main()
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
10 {
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
11 int i;
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
12 for(i=0;addrs[i]>0;i++)
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
13 printf("%lx\n",addrs[i]);
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
14 printf("%lx\n",(unsigned long)test_func);
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
15 return(0);
f03bba45ae77 *** empty log message ***
kinjo
parents:
diff changeset
16 }