summaryrefslogtreecommitdiff
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
commit740b24658c55fc42826704a8fb0f47aeabaffba6 (patch)
treebd5081770100ea411373c3ba04153340ed3f2773
parentb1d54184c83faae9b3cab796b699ba6157b8cf64 (diff)
downloadsamba-740b24658c55fc42826704a8fb0f47aeabaffba6.tar.gz
samba-740b24658c55fc42826704a8fb0f47aeabaffba6.tar.bz2
samba-740b24658c55fc42826704a8fb0f47aeabaffba6.zip
Use headername when closing off include file guards.
(This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f)
-rw-r--r--source3/script/mkproto.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index 760a2df727..1328a42eac 100644
--- a/source3/script/mkproto.awk
+++ b/source3/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," */"
}
{