Commit | Line | Data |
---|---|---|
1bfeeb0f JL |
1 | /* Simple shared library */ |
2 | ||
a59add0c | 3 | int multiply(int a, int b) |
1bfeeb0f | 4 | { |
a59add0c | 5 | return a * b; |
1bfeeb0f JL |
6 | } |
7 | ||
a59add0c | 8 | int square(int num) |
1bfeeb0f | 9 | { |
a59add0c | 10 | return multiply(num, num); |
1bfeeb0f | 11 | } |