summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-07-02 19:08:48 +0200
committerHaru <haru@dotalux.com>2016-07-02 19:08:48 +0200
commit0623dad90cb238648755776c56800d0c144d2a86 (patch)
tree9df4d22be219f30622f47df7333a59cbc0d08f01 /src/plugins
parent657d772c70e07afc2188c200247f73f03879884d (diff)
downloadhercules-0623dad90cb238648755776c56800d0c144d2a86.tar.gz
hercules-0623dad90cb238648755776c56800d0c144d2a86.tar.bz2
hercules-0623dad90cb238648755776c56800d0c144d2a86.tar.xz
hercules-0623dad90cb238648755776c56800d0c144d2a86.zip
Added 'GENERATED FILE DO NOT EDIT' to the auto-generated files
See https://github.com/Reviewable/Reviewable/wiki/FAQ#how-do-i-tell-reviewable-that-a-file-is-generated-and-should-not-be-reviewed Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/constdb2doc.c3
-rw-r--r--src/plugins/db2sql.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/constdb2doc.c b/src/plugins/constdb2doc.c
index cb0b82278..d211c46e2 100644
--- a/src/plugins/constdb2doc.c
+++ b/src/plugins/constdb2doc.c
@@ -177,7 +177,8 @@ void do_constdb2doc(void)
constdb2doc_itemdb();
- fprintf(out_fp, "> End of list\n");
+ fprintf(out_fp, "> End of list\n\n");
+ fprintf(out_fp, "<!--GENERATED FILE DO NOT EDIT-->\n");
fclose(out_fp);
}
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index 510a56e2c..351962e26 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -117,7 +117,9 @@ void db2sql_fileheader(void)
"-- NOTE: This file was auto-generated and should never be manually edited,\n"
"-- as it will get overwritten. If you need to modify this file,\n"
"-- please consider modifying the corresponding .conf file inside\n"
- "-- the db folder, and then re-run the db2sql plugin.\n"
+ "-- the db folder, and then re-run the db2sql plugin.\n\n"
+
+ "-- GENERATED FILE DO NOT EDIT --\n"
"\n", year);
}