Author: simon Date: 2010-06-18 22:24:28 +0200 (Fri, 18 Jun 2010) New Revision: 1704
Modified: tags/batctl-2010.0.0/functions.c tags/batctl-2010.0.0/functions.h Log: batctl-2010.0.0: check_proc_dir() can now be declared static
Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de
Modified: tags/batctl-2010.0.0/functions.c =================================================================== --- tags/batctl-2010.0.0/functions.c 2010-06-18 20:23:01 UTC (rev 1703) +++ tags/batctl-2010.0.0/functions.c 2010-06-18 20:24:28 UTC (rev 1704) @@ -99,7 +99,7 @@ return get_name_by_macaddr(mac_addr, read_opt); }
-int check_proc_dir(char *dir) +static int check_proc_dir(char *dir) { struct stat st;
Modified: tags/batctl-2010.0.0/functions.h =================================================================== --- tags/batctl-2010.0.0/functions.h 2010-06-18 20:23:01 UTC (rev 1703) +++ tags/batctl-2010.0.0/functions.h 2010-06-18 20:24:28 UTC (rev 1704) @@ -36,7 +36,6 @@ char *get_name_by_macstr(char *mac_str, int read_opt); int read_file(char *dir, char *path, int read_opt); int write_file(char *dir, char *fname, char *arg1, char *arg2); -int check_proc_dir(char *dir); int check_sys_dir(char *dir); char *strchr_anyof(const char *s, const char *n);