diff hanoi.c hanoi2.c
17a18
> void mov();
51c52
< mov(disk,1,3);
--- > (void)mov(disk,1,3); 58c59 < mov(n,f,t)--- > void mov(n,f,t) 67,69c68,70 < mov(n-1,f,o); < mov(1,f,t); < mov(n-1,o,t);--- > (void)mov(n-1,f,o); > (void)mov(1,f,t); > (void)mov(n-1,o,t);
cc -O3 -march=i686 -mcpu=i686 -fomit-frame-pointer hanoi.c -o hanoi cc -O3 -march=i686 -mcpu=i686 -fomit-frame-pointer hanoi2.c -o hanoi2 ./hanoi 10 536837 loops ./hanoi 10 538709 loops ./hanoi2 10 850127 loops ./hanoi2 10 852651 loops
Huu ?
Margit
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/