summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-15 01:38:05 +0000
committerMartin Pool <mbp@samba.org>2002-01-15 01:38:05 +0000
commit9964e1f9667d81fd9d85adb57586e31fc0e5cfbb (patch)
tree919f72b2e9f06964e51c3271db1d27bc94f145fc /source3
parentdf3d5b3556146e2d60c1a5656b16236f96832a16 (diff)
downloadsamba-9964e1f9667d81fd9d85adb57586e31fc0e5cfbb.tar.gz
samba-9964e1f9667d81fd9d85adb57586e31fc0e5cfbb.tar.bz2
samba-9964e1f9667d81fd9d85adb57586e31fc0e5cfbb.zip
Add constness to parameters
(This used to be commit a61abaec063d00afe13ce0baa356245fb6e21bc0)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 0f32787b12..461fd8f05e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2156,7 +2156,7 @@ static struct file_lists
keep a linked list of all config files so we know when one has changed
it's date and needs to be reloaded
********************************************************************/
-static void add_to_file_list(char *fname, char *subfname)
+static void add_to_file_list(const char *fname, const char *subfname)
{
struct file_lists *f = file_lists;
@@ -3304,7 +3304,7 @@ static void set_server_role(void)
Load the services array from the services file. Return True on success,
False on failure.
***************************************************************************/
-BOOL lp_load(char *pszFname, BOOL global_only, BOOL save_defaults,
+BOOL lp_load(const char *pszFname, BOOL global_only, BOOL save_defaults,
BOOL add_ipc)
{
pstring n2;