summaryrefslogtreecommitdiff
path: root/configfile.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 20:21:25 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 20:21:25 +0100
commit0255821e22678d4c58c809efe17bf2798835d5b9 (patch)
treed4679ff23796406648cf83ff0b98940ba844c5e1 /configfile.c
parent6d8a789d61f3a682bc040f1f7f44050b1f723546 (diff)
parent59fe348deaa270434f05afc56ca8d13618af9ca9 (diff)
Merge branch 'wip'
Diffstat (limited to 'configfile.c')
-rw-r--r--configfile.c6
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 @@
#include <stdio.h>
#include "configfile.h"
-int next_char(FILE *f)
+static int next_char(FILE *f)
{
int c = fgetc(f);
if (c == '\r') {
@@ -23,7 +23,7 @@ int next_char(FILE *f)
return c;
}
-void skip_line(FILE *f)
+static void skip_line(FILE *f)
{
int c;
@@ -31,7 +31,7 @@ void skip_line(FILE *f)
;
}
-int read_config_line(FILE *f, char *line, const char **value, int bufsize)
+static int read_config_line(FILE *f, char *line, const char **value, int bufsize)
{
int i = 0, isname = 0;