From 33f6a1d9bb7ffed681085261a78d5ef4297f73de Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 3 Jul 2000 04:28:29 +0000 Subject: first pass at merging rpcclient from TNG to HEAD. You can get a semi-connection and a rpcclient prompt, but no functionality there yet. Will be a few more days on that. --jerry (This used to be commit 269051aa0c52728278a1d290148564f11cf7f189) --- source3/script/mkproto.awk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3/script/mkproto.awk') diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk index 7ae89b7467..6e74b0d85f 100644 --- a/source3/script/mkproto.awk +++ b/source3/script/mkproto.awk @@ -2,8 +2,12 @@ BEGIN { inheader=0; # use_ldap_define = 0; current_file=""; - print "#ifndef _PROTO_H_" - print "#define _PROTO_H_" + if (headername=="") { + headername="_PROTO_H_"; + } + + print "#ifndef",headername + print "#define",headername print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */" print "" } -- cgit