From 6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e Mon Sep 17 00:00:00 2001 From: "Christopher R. Hertel" Date: Mon, 8 Jun 1998 14:59:30 +0000 Subject: [PATCH] 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 -)----- --- source/script/mkproto.awk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index e5f0c114772..5505878b37a 100644 --- a/source/script/mkproto.awk +++ b/source/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)