Added const qualifiers.
Этот коммит содержится в:
родитель
2d64b1c884
Коммит
2841a5087f
@ -600,7 +600,7 @@ BOOL lp_snum_ok(int iService);
|
||||
void lp_add_one_printer(char *name,char *comment);
|
||||
BOOL lp_loaded(void);
|
||||
void lp_killunused(BOOL (*snumused)(int ));
|
||||
BOOL lp_load(char *pszFname,BOOL global_only, BOOL save_defaults, BOOL add_ipc);
|
||||
BOOL lp_load(const char *pszFname,BOOL global_only, BOOL save_defaults, BOOL add_ipc);
|
||||
void lp_resetnumservices(void);
|
||||
int lp_numservices(void);
|
||||
int lp_servicenumber(char *pszServiceName);
|
||||
|
@ -1672,7 +1672,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)
|
||||
static void add_to_file_list(const char *fname)
|
||||
{
|
||||
struct file_lists *f=file_lists;
|
||||
|
||||
@ -2258,7 +2258,7 @@ static void lp_save_defaults(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 add_ipc)
|
||||
BOOL lp_load(const char *pszFname,BOOL global_only, BOOL save_defaults, BOOL add_ipc)
|
||||
{
|
||||
pstring n2;
|
||||
BOOL bRetval;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user