mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Added source filename to give crude index
Dan 17 June 1996
(This used to be commit 5a72a6c8df
)
This commit is contained in:
parent
02657e5162
commit
912d4dae3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user