diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-06-17 14:11:14 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-06-17 14:11:14 +0000 |
commit | 5a72a6c8dfe3a0898db514c35a9d704c3627c41d (patch) | |
tree | a28c3216332f1242cc4cdd6d13ccdaad3fd6b357 /source/script/mkproto.awk | |
parent | 1a30ade78e31c5ffa889eedc998771b1bb98c246 (diff) | |
download | samba-5a72a6c8dfe3a0898db514c35a9d704c3627c41d.tar.gz samba-5a72a6c8dfe3a0898db514c35a9d704c3627c41d.tar.xz samba-5a72a6c8dfe3a0898db514c35a9d704c3627c41d.zip |
Added source filename to give crude index
Dan 17 June 1996
Diffstat (limited to 'source/script/mkproto.awk')
-rw-r--r-- | source/script/mkproto.awk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index 3f3ef1c9fcb..78f3fa080b3 100644 --- a/source/script/mkproto.awk +++ b/source/script/mkproto.awk @@ -1,13 +1,22 @@ # generate prototypes for Samba C code # tridge, June 1996 +# added comment for each source file for use as crude index +# dan, 17 June 1996 BEGIN { inheader=0; + current_file=""; print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */" print "" } { + if (FILENAME!=current_file) { + print "" + print "/*The following definitions come from ",FILENAME," */" + print "" + current_file=FILENAME + } if (inheader) { if (match($0,"[)][ \t]*$")) { inheader = 0; |