diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-29 16:39:26 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-30 03:24:13 +0200 |
commit | 86278c154c0e8f88f3df91298b4fcd40f8c7571b (patch) | |
tree | da2aa0f4786337b7245dc931e56f72b144008839 /xC-gen-proto-c.awk | |
parent | 941ee2f10c0c6d273d4d7bf591a48068141e2c56 (diff) | |
download | xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.gz xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.tar.xz xK-86278c154c0e8f88f3df91298b4fcd40f8c7571b.zip |
Clean up protocol code generators
Diffstat (limited to 'xC-gen-proto-c.awk')
-rw-r--r-- | xC-gen-proto-c.awk | 3 |
1 files changed, 1 insertions, 2 deletions
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) {" |