aboutsummaryrefslogtreecommitdiff
path: root/xC-gen-proto-c.awk
diff options
context:
space:
mode:
Diffstat (limited to 'xC-gen-proto-c.awk')
-rw-r--r--xC-gen-proto-c.awk3
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) {"