diff options
author | Tim Potter <tpot@samba.org> | 2002-03-28 03:43:54 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-03-28 03:43:54 +0000 |
commit | 740b24658c55fc42826704a8fb0f47aeabaffba6 (patch) | |
tree | bd5081770100ea411373c3ba04153340ed3f2773 /source3/script | |
parent | b1d54184c83faae9b3cab796b699ba6157b8cf64 (diff) | |
download | samba-740b24658c55fc42826704a8fb0f47aeabaffba6.tar.gz samba-740b24658c55fc42826704a8fb0f47aeabaffba6.tar.bz2 samba-740b24658c55fc42826704a8fb0f47aeabaffba6.zip |
Use headername when closing off include file guards.
(This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f)
Diffstat (limited to 'source3/script')
-rw-r--r-- | source3/script/mkproto.awk | 3 |
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," */" } { |