mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
lib: Remove unused smb_mkstemp prototype
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7ee474d9fd
commit
14f761ec7d
@ -338,7 +338,6 @@ bool remote_arch_cache_delete(const struct GUID *client_guid);
|
|||||||
int str_checksum(const char *s);
|
int str_checksum(const char *s);
|
||||||
void zero_free(void *p, size_t size);
|
void zero_free(void *p, size_t size);
|
||||||
int set_maxfiles(int requested_max);
|
int set_maxfiles(int requested_max);
|
||||||
int smb_mkstemp(char *name_template);
|
|
||||||
void *smb_xmalloc_array(size_t size, unsigned int count);
|
void *smb_xmalloc_array(size_t size, unsigned int count);
|
||||||
char *myhostname(void);
|
char *myhostname(void);
|
||||||
char *myhostname_upper(void);
|
char *myhostname_upper(void);
|
||||||
|
@ -789,9 +789,9 @@ bool create_local_private_krb5_conf_for_domain(const char *realm,
|
|||||||
fd = mkstemp(tmpname);
|
fd = mkstemp(tmpname);
|
||||||
umask(mask);
|
umask(mask);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
DEBUG(0,("create_local_private_krb5_conf_for_domain: smb_mkstemp failed,"
|
DBG_ERR("mkstemp failed, for file %s. Errno %s\n",
|
||||||
" for file %s. Errno %s\n",
|
tmpname,
|
||||||
tmpname, strerror(errno) ));
|
strerror(errno));
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user