summaryrefslogtreecommitdiff
path: root/gen_inl.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-08 21:53:56 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-08 21:53:56 +0200
commit782d97aa2940f849282b52fa19b26fbf0970b966 (patch)
tree78e6ce064a802be6d7ab5ea31742c4ee673c53b1 /gen_inl.c
parent2a8040a71558bcf3167ddcc65b3d40a47e69d424 (diff)
downloadkit-782d97aa2940f849282b52fa19b26fbf0970b966.zip
Add comment header
Diffstat (limited to 'gen_inl.c')
-rw-r--r--gen_inl.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/gen_inl.c b/gen_inl.c
index bb1aac8..af77c7d 100644
--- a/gen_inl.c
+++ b/gen_inl.c
@@ -137,6 +137,64 @@ int main(int argc, char **argv) {
return 1;
}
+ fprintf(out, "// "
+ "====================================================="
+ "===========\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// kit.inl.h\n");
+ fprintf(out, "// https://guattari.tech/git/?p=kit.git;a=tree\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// Header-only utility library for C.\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// "
+ "====================================================="
+ "===========\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// The MIT License\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// Copyright (c) 2022-2023 Mitya Selivanov\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// Permission is hereby granted, free of charge, to "
+ "any person\n");
+ fprintf(out, "// obtaining a copy of this software and associated "
+ "documentation\n");
+ fprintf(out, "// files (the \"Software\"), to deal in the "
+ "Software without\n");
+ fprintf(out, "// restriction, including without limitation the "
+ "rights to use, copy,\n");
+ fprintf(out, "// modify, merge, publish, distribute, sublicense, "
+ "and/or sell copies\n");
+ fprintf(out, "// of the Software, and to permit persons to whom "
+ "the Software is\n");
+ fprintf(out, "// furnished to do so, subject to the following "
+ "conditions:\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// The above copyright notice and this permission "
+ "notice shall be\n");
+ fprintf(out, "// included in all copies or substantial portions "
+ "of the Software.\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT "
+ "WARRANTY OF ANY KIND,\n");
+ fprintf(out, "// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO "
+ "THE WARRANTIES OF\n");
+ fprintf(
+ out,
+ "// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n");
+ fprintf(out, "// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS "
+ "OR COPYRIGHT\n");
+ fprintf(out, "// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR "
+ "OTHER LIABILITY,\n");
+ fprintf(out, "// WHETHER IN AN ACTION OF CONTRACT, TORT OR "
+ "OTHERWISE, ARISING FROM,\n");
+ fprintf(out, "// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE "
+ "USE OR OTHER\n");
+ fprintf(out, "// DEALINGS IN THE SOFTWARE.\n");
+ fprintf(out, "//\n");
+ fprintf(out, "// "
+ "====================================================="
+ "===========\n");
+
fprintf(out, "#ifndef KIT_INL_H\n");
fprintf(out, "#define KIT_INL_H\n");