diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-06-08 14:59:30 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-06-08 14:59:30 +0000 |
commit | 6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e (patch) | |
tree | 51d4cdd1d0a5c98ab020cbe785ba015a46cb5b8e | |
parent | ae706bff10cc77f06b8069e637ec9768d6a46966 (diff) | |
download | samba-6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e.tar.gz samba-6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e.tar.xz samba-6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e.zip |
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 -)-----
-rw-r--r-- | source/script/mkproto.awk | 6 |
1 files changed, 6 insertions, 0 deletions
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) |