aboutsummaryrefslogtreecommitdiffstats
path: root/prefs.h
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-01 03:15:29 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2002-08-01 03:15:29 +0000
commitd84a55c64e962e94abaa7808887842093baba2ad (patch)
tree26e3986b7a2b9bf989d9f7089f0900839c860eb6 /prefs.h
parente5fd6f9fefb30227e86ddb942f10ff5367b8f6ec (diff)
Fix a few more memleaks found by valgrind (all deriving
from the get_persconffile_path mess). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5927 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'prefs.h')
-rw-r--r--prefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/prefs.h b/prefs.h
index 474d134909..135ce0ca19 100644
--- a/prefs.h
+++ b/prefs.h
@@ -1,7 +1,7 @@
/* prefs.h
* Definitions for preference handling routines
*
- * $Id: prefs.h,v 1.38 2002/05/11 18:58:02 guy Exp $
+ * $Id: prefs.h,v 1.39 2002/08/01 03:15:25 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -202,13 +202,13 @@ extern void prefs_register_modules(void);
the user's preferences file, stuff the errno into "*pf_errno_return"
and a pointer to the path of the file into "*pf_path_return", and
return NULL. */
-extern e_prefs *read_prefs(int *, char **, int *, const char **);
+extern e_prefs *read_prefs(int *, char **, int *, char **);
/* Write out "prefs" to the user's preferences file, and return 0.
If we got an error, stuff a pointer to the path of the preferences file
into "*pf_path_return", and return the errno. */
-extern int write_prefs(const char **);
+extern int write_prefs(char **);
/* Copy a set of preferences. */
extern void copy_prefs(e_prefs *dest, e_prefs *src);