repo.or.cz
/
git
/
git-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update-index: there are only two possible line terminations
[git/git-svn.git]
/
t
/
t4109
/
expect-2
blob
bc52924112ba857784169157d3f650eb35a931ba
1
#include <stdio.h>
2
3
int func(int num);
4
void print_int(int num);
5
6
int main() {
7
int i;
8
9
for (i = 0; i < 10; i++) {
10
print_int(func(i));
11
}
12
13
return 0;
14
}
15
16
int func(int num) {
17
return num * num;
18
}
19
20
void print_int(int num) {
21
printf("%d", num);
22
}
23