mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 20:54:13 +01:00
10 lines
158 B
Awk
10 lines
158 B
Awk
|
BEGIN { FS="("; state = 0 }
|
||
|
|
||
|
/^ public/ { ftype = $0; state = 1 }
|
||
|
|
||
|
{ if (state == 1)
|
||
|
state = 2
|
||
|
else if (state == 2)
|
||
|
{ print ftype,$1,"();"; state = 0 }
|
||
|
}
|