1
0
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:
Volker Lendecke 2023-01-03 19:27:50 +01:00 committed by Jeremy Allison
parent 7ee474d9fd
commit 14f761ec7d
2 changed files with 3 additions and 4 deletions

View File

@ -338,7 +338,6 @@ bool remote_arch_cache_delete(const struct GUID *client_guid);
int str_checksum(const char *s);
void zero_free(void *p, size_t size);
int set_maxfiles(int requested_max);
int smb_mkstemp(char *name_template);
void *smb_xmalloc_array(size_t size, unsigned int count);
char *myhostname(void);
char *myhostname_upper(void);

View File

@ -789,9 +789,9 @@ bool create_local_private_krb5_conf_for_domain(const char *realm,
fd = mkstemp(tmpname);
umask(mask);
if (fd == -1) {
DEBUG(0,("create_local_private_krb5_conf_for_domain: smb_mkstemp failed,"
" for file %s. Errno %s\n",
tmpname, strerror(errno) ));
DBG_ERR("mkstemp failed, for file %s. Errno %s\n",
tmpname,
strerror(errno));
goto done;
}