From 740b24658c55fc42826704a8fb0f47aeabaffba6 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 28 Mar 2002 03:43:54 +0000 Subject: Use headername when closing off include file guards. (This used to be commit 5bf5bffdd557cec3588e8d7a95b6cf75d00e616f) --- source3/script/mkproto.awk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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," */" } { -- cgit