diff options
Diffstat (limited to 'Functions/Misc/proto')
-rwxr-xr-x | Functions/Misc/proto | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Functions/Misc/proto b/Functions/Misc/proto new file mode 100755 index 000000000..df1826506 --- /dev/null +++ b/Functions/Misc/proto @@ -0,0 +1,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 |