1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

Added source filename to give crude index

Dan 17 June 1996
This commit is contained in:
Samba Release Account -
parent 1a30ade78e
commit 5a72a6c8df

View File

@ -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;