diff options
| author | 2013-03-04 16:52:33 (JST) | |
|---|---|---|
| committer | 2013-03-05 09:50:39 (JST) | |
| commit | bafab423f20bc1448b293842c235965e1681f07e (patch) | |
| tree | 18c4bef1e4714c4abd20b8e1d5ec04db3ae3b9ac /configfile.c | |
| parent | d5a43b429a4248a02e3a403f76fff0cbae92ef32 (diff) | |
| download | cgit-bafab423f20bc1448b293842c235965e1681f07e.zip cgit-bafab423f20bc1448b293842c235965e1681f07e.tar.gz | |
Mark several functions/variables static
Spotted by parsing the output of `gcc -Wmissing-prototypes [...]`.
Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'configfile.c')
| -rw-r--r-- | configfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configfile.c b/configfile.c index 3fa217f..d98989c 100644 --- a/configfile.c +++ b/configfile.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | #include <stdio.h> | 10 | #include <stdio.h> |
| 11 | #include "configfile.h" | 11 | #include "configfile.h" |
| 12 | 12 | ||
| 13 | int next_char(FILE *f) | 13 | static int next_char(FILE *f) |
| 14 | { | 14 | { |
| 15 | int c = fgetc(f); | 15 | int c = fgetc(f); |
| 16 | if (c == '\r') { | 16 | if (c == '\r') { |
| @@ -23,7 +23,7 @@ int next_char(FILE *f) | |||
| 23 | return c; | 23 | return c; |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | void skip_line(FILE *f) | 26 | static void skip_line(FILE *f) |
| 27 | { | 27 | { |
| 28 | int c; | 28 | int c; |
| 29 | 29 | ||
| @@ -31,7 +31,7 @@ void skip_line(FILE *f) | |||
| 31 | ; | 31 | ; |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | int read_config_line(FILE *f, char *line, const char **value, int bufsize) | 34 | static int read_config_line(FILE *f, char *line, const char **value, int bufsize) |
| 35 | { | 35 | { |
| 36 | int i = 0, isname = 0; | 36 | int i = 0, isname = 0; |
| 37 | 37 | ||
