about summary refs log tree commit diff
path: root/Functions/Misc/proto
blob: df18265066abb85b3f006c68d1f67e06ad98a453 (plain) (blame)
1
2
3
4
5
6
7
8
#! /bin/sh
# generate prototypes, if your style is the same as mine
for i
do
	rm $i:r.pro 2>/dev/null
	grep -v '[{};:#]' $i | grep '^[A-Za-z]' |
		grep -v static | sed 's/$/;/' >! $i:r.pro
done