repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gdb6
/
gdb
/
testsuite
/
gdb.base
/
async.c
blob
0d9c8752b70afed6924c74e721b096fea0958fb8
1
2
3
#ifdef PROTOTYPES
4
int
5
foo
(
void
)
6
#else
7
int
8
foo
()
9
#endif
10
{
11
int
x
,
y
;
12
13
x
=
5
;
14
y
=
3
;
15
16
return
x
+
y
;
17
}
18
19
#ifdef PROTOTYPES
20
int
21
main
(
void
)
22
#else
23
int
24
main
()
25
#endif
26
{
27
int
y
,
z
;
28
29
y
=
2
;
30
z
=
9
;
31
y
=
foo
();
32
z
=
y
;
33
y
=
y
+
2
;
34
y
=
baz
();
35
return
0
;
36
}
37
38
39
#ifdef PROTOTYPES
40
int
41
baz
(
void
)
42
#else
43
int
44
baz
()
45
#endif
46
{
47
return
5
;
48
}