changeset 4:daa6a4e92480

*** empty log message ***
author kinjo
date Sun, 11 Dec 2005 22:24:30 +0900
parents f03bba45ae77
children 709cdf828033
files Makefile symbol-c.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Dec 11 21:46:14 2005 +0900
+++ b/Makefile	Sun Dec 11 22:24:30 2005 +0900
@@ -96,7 +96,7 @@
 struct-mips: struct-mips.o
 	$(CC) -o $@ $^
 
-symbol.c:symbol.o
+symbol:symbol.o
 	$(CC) -o $@ $^
 
 symbol-gcc.o:symbol-c.c
--- a/symbol-c.c	Sun Dec 11 21:46:14 2005 +0900
+++ b/symbol-c.c	Sun Dec 11 22:24:30 2005 +0900
@@ -1,5 +1,4 @@
 extern int printf(char*,...);
-
 void test_func(){
 }
 unsigned long addrs[]={
@@ -9,8 +8,7 @@
 int main()
 {
      int i;
-     for(i=0;addrs[i]>0;i++)
-	  printf("%lx\n",addrs[i]);
+     for(i=0;addrs[i]>0;i++) printf("%lx\n",addrs[i]);
      printf("%lx\n",(unsigned long)test_func);
      return(0);
 }