1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

errors: Remove unused unix_to_werror()

This commit is contained in:
Andrew Bartlett
2011-05-04 17:00:23 +10:00
parent db74cad1c6
commit cad704e836
3 changed files with 0 additions and 16 deletions

View File

@ -144,12 +144,6 @@ NTSTATUS map_nt_error_from_unix(int unix_error)
return NT_STATUS_ACCESS_DENIED;
}
/* Convert a Unix error code to a WERROR. */
WERROR unix_to_werror(int unix_error)
{
return ntstatus_to_werror(map_nt_error_from_unix(unix_error));
}
/* Return a UNIX errno from a NT status code */
static const struct {
NTSTATUS status;