diff options
author | EuAndreh <eu@euandre.org> | 2021-06-27 09:47:57 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-06-27 09:47:57 -0300 |
commit | 45693459a0fe2b477de504242890befea0d6cfe5 (patch) | |
tree | 28c9e64c870f50a028c35f54d8221781df83b43f /src/remembering-c.c | |
parent | TODOs.md: Add #task-b3261473-9d12-9df4-cbfe-c4017ffed709 (diff) | |
download | remembering-45693459a0fe2b477de504242890befea0d6cfe5.tar.gz remembering-45693459a0fe2b477de504242890befea0d6cfe5.tar.xz |
src/remembering-c.c: Mark all functions as static
Diffstat (limited to '')
-rw-r--r-- | src/remembering-c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/remembering-c.c b/src/remembering-c.c index 3f66473..39429d6 100644 --- a/src/remembering-c.c +++ b/src/remembering-c.c @@ -19,7 +19,7 @@ int usage(FILE *stream) { return 0; } -int help(FILE *stream) { +static int help(FILE *stream) { const char *const msg = "Options:\n" " -p, PROFILE profile to be used for gathering and storing data\n" @@ -34,7 +34,7 @@ int help(FILE *stream) { return 0; } -int version(FILE *stream) { +static int version(FILE *stream) { const char *const msg = "remembering-" VERSION " " DATE "\n"; if (fprintf(stream, msg) < 0) { perror("version()"); @@ -43,7 +43,7 @@ int version(FILE *stream) { return 0; } -int missing(FILE *stream, const char *const argument) { +static int missing(FILE *stream, const char *const argument) { const char *const msg = "Missing option: %s\n"; if (fprintf(stream, msg, argument) < 0) { perror("missing()"); |