Added code to generate
authorChristopher R. Hertel <crh@samba.org>
Mon, 8 Jun 1998 14:59:30 +0000 (14:59 +0000)
committerChristopher R. Hertel <crh@samba.org>
Mon, 8 Jun 1998 14:59:30 +0000 (14:59 +0000)
#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

index e5f0c114772602beb3eed4b04e1acccb87b5eb85..5505878b37a0099f5b776503b01d0ae9cdfe0ad7 100644 (file)
@@ -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)