aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-06-27 12:25:42 -0300
committerEuAndreh <eu@euandre.org>2021-06-27 12:25:42 -0300
commit2db008e01ee8c4f0438cd3b729b039bca7aac9c1 (patch)
tree23ca8e57b0b7b767b809edd43f3a487be4fe0b6e
parent145f63d5cda9d11fc8391548e7a953ec212207d4 (diff)
downloadremembering-2db008e01ee8c4f0438cd3b729b039bca7aac9c1.tar.gz
src/remembering-c.c: Mark as static two functions left
-rw-r--r--src/remembering-c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remembering-c.c b/src/remembering-c.c
index db65ec3..f120441 100644
--- a/src/remembering-c.c
+++ b/src/remembering-c.c
@@ -19,7 +19,7 @@
const int EXIT_ERROR = 1;
const int EXIT_USAGE = 2;
-int usage(FILE *stream) {
+static int usage(FILE *stream) {
const char *const msg = "Usage: remembering -p PROFILE -c COMMAND\n";
if (fprintf(stream, msg) < 0) {
perror("usage() - fprintf()");
@@ -107,7 +107,7 @@ static char *get_profile_file(const char *const profile, FILE *stream) {
}
#ifdef TEST
-void test_get_profile_file() {
+static void test_get_profile_file() {
#define EXPECTED_FMT "\nexpected: %s\ngot: %s\n"
FILE *f = fopen("/dev/null", "w");
assert(f);