From 1c185427fa1cd5fa54ce7781bb57ff1df3c99de4 Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Mon, 8 Jun 1998 14:59:30 +0000 Subject: Added code to generate #ifndef _PROTO_H_ #define _PROTO_H_ : : #endif /* _PROTO_H_ */ in the appropriate places. This required that I add an END rule. I generated a new proto.h and diff'ed it against the previous. There were no differences except for the added lines. Chris -)----- (This used to be commit 6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e) --- source3/script/mkproto.awk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/script') diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk index e5f0c11477..5505878b37 100644 --- a/source3/script/mkproto.awk +++ b/source3/script/mkproto.awk @@ -2,10 +2,16 @@ BEGIN { inheader=0; # use_ldap_define = 0; current_file=""; + print "#ifndef _PROTO_H_" + print "#define _PROTO_H_" print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */" print "" } +END { + print "#endif /* _PROTO_H_ */" +} + { if (FILENAME!=current_file) { # if (use_ldap_define) -- cgit