Skip to content

Commit 4e15c9c

Browse files
committed
tests: fix clar declarations
1 parent 6bf0459 commit 4e15c9c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/clar/clar/summary.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <stdio.h>
33
#include <time.h>
44

5-
int clar_summary_close_tag(
5+
static int clar_summary_close_tag(
66
struct clar_summary *summary, const char *tag, int indent)
77
{
88
const char *indt;
@@ -14,12 +14,12 @@ int clar_summary_close_tag(
1414
return fprintf(summary->fp, "%s</%s>\n", indt, tag);
1515
}
1616

17-
int clar_summary_testsuites(struct clar_summary *summary)
17+
static int clar_summary_testsuites(struct clar_summary *summary)
1818
{
1919
return fprintf(summary->fp, "<testsuites>\n");
2020
}
2121

22-
int clar_summary_testsuite(struct clar_summary *summary,
22+
static int clar_summary_testsuite(struct clar_summary *summary,
2323
int idn, const char *name, time_t timestamp,
2424
int test_count, int fail_count, int error_count)
2525
{
@@ -40,23 +40,23 @@ int clar_summary_testsuite(struct clar_summary *summary,
4040
idn, name, iso_dt, test_count, fail_count, error_count);
4141
}
4242

43-
int clar_summary_testcase(struct clar_summary *summary,
43+
static int clar_summary_testcase(struct clar_summary *summary,
4444
const char *name, const char *classname, double elapsed)
4545
{
4646
return fprintf(summary->fp,
4747
"\t\t<testcase name=\"%s\" classname=\"%s\" time=\"%.2f\">\n",
4848
name, classname, elapsed);
4949
}
5050

51-
int clar_summary_failure(struct clar_summary *summary,
51+
static int clar_summary_failure(struct clar_summary *summary,
5252
const char *type, const char *message, const char *desc)
5353
{
5454
return fprintf(summary->fp,
5555
"\t\t\t<failure type=\"%s\"><![CDATA[%s\n%s]]></failure>\n",
5656
type, message, desc);
5757
}
5858

59-
int clar_summary_skipped(struct clar_summary *summary)
59+
static int clar_summary_skipped(struct clar_summary *summary)
6060
{
6161
return fprintf(summary->fp, "\t\t\t<skipped />\n");
6262
}

0 commit comments

Comments
 (0)