Minor warning fixes.
Этот коммит содержится в:
родитель
dd621c3f36
Коммит
21bfde8acf
@ -19,13 +19,13 @@
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
extern void charset_initialise(void);
|
||||
|
||||
#ifndef CHARSET_C
|
||||
|
||||
extern char *dos_char_map;
|
||||
extern char *upper_char_map;
|
||||
extern char *lower_char_map;
|
||||
extern void add_char_string(char *s);
|
||||
extern void charset_initialise(void);
|
||||
|
||||
#ifdef toupper
|
||||
#undef toupper
|
||||
@ -61,7 +61,7 @@ extern void charset_initialise(void);
|
||||
/* this is used to determine if a character is safe to use in
|
||||
something that may be put on a command line */
|
||||
#define issafe(c) (isalnum((c&0xff)) || strchr("-._",c))
|
||||
#endif
|
||||
#endif /* !CHARSET_C */
|
||||
|
||||
/* Dynamic codepage files defines. */
|
||||
|
||||
|
@ -39,7 +39,6 @@ void interpret_character_set(char *str);
|
||||
|
||||
/*The following definitions come from lib/charset.c */
|
||||
|
||||
void charset_initialise(void);
|
||||
void codepage_initialise(int client_codepage);
|
||||
void add_char_string(char *s);
|
||||
|
||||
@ -149,7 +148,6 @@ int smbrun(char *cmd,char *outfile,BOOL shared);
|
||||
|
||||
/*The following definitions come from lib/system.c */
|
||||
|
||||
int sys_select(int maxfd, fd_set *fds,struct timeval *tval);
|
||||
int sys_select(int maxfd, fd_set *fds,struct timeval *tval);
|
||||
int sys_usleep(long usecs);
|
||||
int sys_stat(const char *fname,SMB_STRUCT_STAT *sbuf);
|
||||
@ -1956,7 +1954,6 @@ void process_blocking_lock_queue(time_t t);
|
||||
|
||||
/*The following definitions come from smbd/chgpasswd.c */
|
||||
|
||||
BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root);
|
||||
BOOL chgpasswd(char *name,char *oldpass,char *newpass, BOOL as_root);
|
||||
BOOL check_lanman_password(char *user, uchar *pass1,
|
||||
uchar *pass2, struct smb_passwd **psmbpw);
|
||||
|
@ -2538,7 +2538,7 @@ routine to do file locking
|
||||
****************************************************************************/
|
||||
BOOL fcntl_lock(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)
|
||||
{
|
||||
#if HAVE_FCNTL_LOCK
|
||||
#ifdef HAVE_FCNTL_LOCK
|
||||
SMB_STRUCT_FLOCK lock;
|
||||
int ret;
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user