repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Drop main() prototype. Syncs with NetBSD-8
[minix.git]
/
external
/
bsd
/
less
/
dist
/
mkfuncs.awk
blob
dea28acebf5216036fd9fa3c5f8fc0b5544d0435
1
BEGIN
{
FS
=
"("
;
state =
0
}
2
3
/
^ public
/ {
ftype = $
0
;
state =
1
}
4
5
{
if
(
state ==
1
)
6
state =
2
7
else if
(
state ==
2
)
8
{
print
ftype
,
$
1
,
"();"
;
state =
0
}
9
}