From a58cfdac407bc1d8fedc11acd924b275ba28cc51 Mon Sep 17 00:00:00 2001 From: "SND\\dario86_cp" Date: Sat, 12 Mar 2011 18:54:28 +0000 Subject: Commited patch in issue #8171 (by darktjm). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/gxvideo/cfg.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/gxvideo/cfg.c') 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; -- cgit v1.2.3