summaryrefslogtreecommitdiff
path: root/plugins/gxvideo/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gxvideo/cfg.c')
-rw-r--r--plugins/gxvideo/cfg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/gxvideo/cfg.c b/plugins/gxvideo/cfg.c
index ffe0ff0e..2274c529 100644
--- a/plugins/gxvideo/cfg.c
+++ b/plugins/gxvideo/cfg.c
@@ -29,7 +29,7 @@
#define DEFAULT_CFG_NAME "gxvideo.cfg"
-int get_int_value (char const * file_buffer, char const * name, int dflt) {
+static int get_int_value (char const * file_buffer, char const * name, int dflt) {
char * p = strstr(file_buffer, name);
if (p != NULL) {
p += strlen(name);
@@ -41,7 +41,7 @@ int get_int_value (char const * file_buffer, char const * name, int dflt) {
return dflt;
}
-double get_double_value(char const * file_buffer, char const * name,
+static double get_double_value(char const * file_buffer, char const * name,
double dflt) {
char * p = strstr(file_buffer, name);
if (p != NULL) {
@@ -54,15 +54,15 @@ double get_double_value(char const * file_buffer, char const * name,
return dflt;
}
-void write_int_value (FILE * f, char const * name, int val) {
+static void write_int_value (FILE * f, char const * name, int val) {
fprintf(f, "%s = %d\n", name, val);
}
-void write_double_value (FILE * f, char const * name, double val) {
+static void write_double_value (FILE * f, char const * name, double val) {
fprintf(f, "%s = %.1f\n", name, val);
}
-void ReadConfigFile() {
+static void ReadConfigFile() {
struct stat buf;
FILE * f_in;
char cfg_file_name[256];
@@ -153,7 +153,7 @@ void ReadConfigFile() {
free(file_buffer);
}
-void ExecCfg(char const * arg) {
+static void ExecCfg(char const * arg) {
char cfg[256];
struct stat buf;