git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a30ade
)
Added source filename to give crude index
author
Samba Release Account
<samba-bugs@samba.org>
Mon, 17 Jun 1996 14:11:14 +0000
(14:11 +0000)
committer
Samba Release Account
<samba-bugs@samba.org>
Mon, 17 Jun 1996 14:11:14 +0000
(14:11 +0000)
Dan 17 June 1996
source/script/mkproto.awk
patch
|
blob
|
history
diff --git
a/source/script/mkproto.awk
b/source/script/mkproto.awk
index 3f3ef1c9fcb3d5d7e59c691f40bb1012ba8fa152..78f3fa080b3933fcc2aabf67bf5a510aa1aed958 100644
(file)
--- 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;