diff options
author | EuAndreh <eu@euandre.org> | 2021-08-02 14:52:54 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-08-02 14:52:54 -0300 |
commit | 016cda7db9937478debb78bc55262395f3c13cab (patch) | |
tree | 74b5fb87cb218d456873e916e159ff4a4c8cc0a6 /src/gistatic.c | |
parent | src/gistatic.c: Use <th> over <tr> inside <thead> (diff) | |
download | gistatic-016cda7db9937478debb78bc55262395f3c13cab.tar.gz gistatic-016cda7db9937478debb78bc55262395f3c13cab.tar.xz |
src/gistatic.c: Mark test helper functions as static
Diffstat (limited to 'src/gistatic.c')
-rw-r--r-- | src/gistatic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gistatic.c b/src/gistatic.c index 6611d1b..2ab7865 100644 --- a/src/gistatic.c +++ b/src/gistatic.c @@ -18,11 +18,11 @@ #define COLOUR_GREEN "\033[0;32m" #define COLOUR_YELLOW "\033[0;33m" -void test_start(const char *const name) { +static void test_start(const char *const name) { assert(fprintf(stderr, "%s():\n", name) > 0); } -void testing(const char *const message) { +static void testing(const char *const message) { assert( fprintf( stderr, @@ -32,7 +32,7 @@ void testing(const char *const message) { ); } -void test_ok() { +static void test_ok() { assert(fprintf(stderr, " " COLOUR_GREEN "OK" COLOUR_RESET ".\n") > 0); } #endif |