diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 12:57:44 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-11-11 17:21:32 -0500 |
commit | 3f024b6d5439eda83d8bebc197db062c4d6bdfeb (patch) | |
tree | 72fccf687ad35042c32420a5fabddd32a8277cd2 | |
parent | eabbee0454b74d149ba5f23f1141cc7492fb694f (diff) | |
download | libgit2-3f024b6d5439eda83d8bebc197db062c4d6bdfeb.tar.gz |
clar: declare summary functions as static
-rw-r--r-- | tests/clar/summary.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/clar/summary.h b/tests/clar/summary.h index 1af110efa..6279f5057 100644 --- a/tests/clar/summary.h +++ b/tests/clar/summary.h @@ -2,7 +2,7 @@ #include <stdio.h> #include <time.h> -int clar_summary_close_tag( +static int clar_summary_close_tag( struct clar_summary *summary, const char *tag, int indent) { const char *indt; @@ -14,12 +14,12 @@ int clar_summary_close_tag( return fprintf(summary->fp, "%s</%s>\n", indt, tag); } -int clar_summary_testsuites(struct clar_summary *summary) +static int clar_summary_testsuites(struct clar_summary *summary) { return fprintf(summary->fp, "<testsuites>\n"); } -int clar_summary_testsuite(struct clar_summary *summary, +static int clar_summary_testsuite(struct clar_summary *summary, int idn, const char *name, const char *pkg, time_t timestamp, double elapsed, int test_count, int fail_count, int error_count) { @@ -42,7 +42,7 @@ int clar_summary_testsuite(struct clar_summary *summary, idn, name, pkg, iso_dt, elapsed, test_count, fail_count, error_count); } -int clar_summary_testcase(struct clar_summary *summary, +static int clar_summary_testcase(struct clar_summary *summary, const char *name, const char *classname, double elapsed) { return fprintf(summary->fp, @@ -50,7 +50,7 @@ int clar_summary_testcase(struct clar_summary *summary, name, classname, elapsed); } -int clar_summary_failure(struct clar_summary *summary, +static int clar_summary_failure(struct clar_summary *summary, const char *type, const char *message, const char *desc) { return fprintf(summary->fp, |