1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

Now that I am running config.developer, I decided to get rif of some warnings:

1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD
   4.3 from system includes.

2. Added a bit of const to places.

3. Made sure internal functions were declared where needed.
This commit is contained in:
Richard Sharpe
-
parent f8a915b14d
commit fd847aa936
5 changed files with 269 additions and 181 deletions

View File

@ -24,11 +24,7 @@
#include "includes.h"
/*
* Define this to get the real SMBCFILE and SMBCSRV structures
*/
#define _SMBC_INTERNAL
#include "../include/libsmbclient.h"
#include "../include/libsmb_internal.h"
struct smbc_compat_fdlist {
SMBCFILE * file;
@ -272,7 +268,7 @@ int smbc_open_print_job(const char *fname)
return (int) file;
}
int smbc_list_print_jobs(const char *purl, smbc_get_print_job_info fn)
int smbc_list_print_jobs(const char *purl, smbc_list_print_job_fn fn)
{
return statcont->list_print_jobs(statcont, purl, fn);
}