From 86278c154c0e8f88f3df91298b4fcd40f8c7571b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Thu, 29 Sep 2022 16:39:26 +0200 Subject: Clean up protocol code generators --- xC-gen-proto-c.awk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xC-gen-proto-c.awk') diff --git a/xC-gen-proto-c.awk b/xC-gen-proto-c.awk index 2810c96..d416b93 100644 --- a/xC-gen-proto-c.awk +++ b/xC-gen-proto-c.awk @@ -62,8 +62,8 @@ function codegen_begin() { "\t\t%s = !!v;\n" \ "\t}\n" + print "// Code generated from " FILENAME ". DO NOT EDIT." print "// This file directly depends on liberty.c, but doesn't include it." - print "" print "static bool" print "proto_string_serialize(const struct str *s, struct str *w) {" @@ -73,7 +73,6 @@ function codegen_begin() { print "\tstr_append_str(w, s);" print "\treturn true;" print "}" - print "" print "static bool" print "proto_string_deserialize(struct str *s, struct msg_unpacker *r) {" -- cgit v1.2.3-70-g09d2