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 | 1c185427fa1cd5fa54ce7781bb57ff1df3c99de4 (patch) | |
tree | 12f659ab1868c5ca568fd58c4a07118ccf62cd94 /source3 | |
parent | f3e26636452de78e1acb68de3823fe031aee4b3e (diff) | |
download | samba-1c185427fa1cd5fa54ce7781bb57ff1df3c99de4.tar.gz samba-1c185427fa1cd5fa54ce7781bb57ff1df3c99de4.tar.bz2 samba-1c185427fa1cd5fa54ce7781bb57ff1df3c99de4.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 -)-----
(This used to be commit 6d4d0dc7e65f946f09d127969ccbb4b51dfd6a4e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/script/mkproto.awk | 6 |
1 files changed, 6 insertions, 0 deletions
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) |