dfa5f53e |
1 | commit ccf97b9878189c40a981da50b15713bb80a35755326320ec80900caf22ced46f |
2 | Author: Thomas Rast <trast@student.ethz.ch> |
3 | Date: Thu Feb 28 10:45:16 2013 +0100 |
4 | |
5 | touch both functions |
6 | |
7 | diff --git a/a.c b/a.c |
8 | --- a/a.c |
9 | +++ b/a.c |
10 | @@ -3,9 +3,9 @@ |
11 | -int f(int x) |
12 | +long f(long x) |
13 | { |
14 | int s = 0; |
15 | while (x) { |
16 | x >>= 1; |
17 | s++; |
18 | } |
19 | return s; |
20 | } |
21 | |
22 | commit f6434acd34260a6c9f61e96d96bf9a323d330561df5b1ca2631104f82026dfed |
23 | Author: Thomas Rast <trast@student.ethz.ch> |
24 | Date: Thu Feb 28 10:44:55 2013 +0100 |
25 | |
26 | change f() |
27 | |
28 | diff --git a/a.c b/a.c |
29 | --- a/a.c |
30 | +++ b/a.c |
31 | @@ -3,8 +3,9 @@ |
32 | int f(int x) |
33 | { |
34 | int s = 0; |
35 | while (x) { |
36 | x >>= 1; |
37 | s++; |
38 | } |
39 | + return s; |
40 | } |
41 | |
42 | commit 1dd7e9b2b1699324b53b341e728653b913bc192a14dfea168c5b51f2b3d03592 |
43 | Author: Thomas Rast <trast@student.ethz.ch> |
44 | Date: Thu Feb 28 10:44:48 2013 +0100 |
45 | |
46 | initial |
47 | |
48 | diff --git a/a.c b/a.c |
49 | --- /dev/null |
50 | +++ b/a.c |
51 | @@ -0,0 +3,8 @@ |
52 | +int f(int x) |
53 | +{ |
54 | + int s = 0; |
55 | + while (x) { |
56 | + x >>= 1; |
57 | + s++; |
58 | + } |
59 | +} |