summaryrefslogtreecommitdiffstats
path: root/source/script
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-28 03:43:54 +0000
committerTim Potter <tpot@samba.org>2002-03-28 03:43:54 +0000
commit5bf5bffdd557cec3588e8d7a95b6cf75d00e616f (patch)
tree68fdf2e8caf09784e7da6f6c7151dd8857b8b102 /source/script
parent26a7333347e630d2f5ff9d017536d21ac4ecaa81 (diff)
downloadsamba-5bf5bffdd557cec3588e8d7a95b6cf75d00e616f.tar.gz
samba-5bf5bffdd557cec3588e8d7a95b6cf75d00e616f.tar.xz
samba-5bf5bffdd557cec3588e8d7a95b6cf75d00e616f.zip
Use headername when closing off include file guards.
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkproto.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 760a2df727e..1328a42eac1 100644
--- a/source/script/mkproto.awk
+++ b/source/script/mkproto.awk
@@ -8,12 +8,13 @@ BEGIN {
print "#ifndef",headername
print "#define",headername
+ print ""
print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */"
print ""
}
END {
- print "#endif /* _PROTO_H_ */"
+ print "#endif /* ",headername," */"
}
{