diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 17:00:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | cad704e8368f6aba28889966a7382afc8b738928 (patch) | |
tree | cdf6a1bd478e37d87134d67e3f01d9110ada7a2a /source3 | |
parent | db74cad1c638ae2142b89757397b50009ea0678a (diff) | |
download | samba-cad704e8368f6aba28889966a7382afc8b738928.tar.gz samba-cad704e8368f6aba28889966a7382afc8b738928.tar.bz2 samba-cad704e8368f6aba28889966a7382afc8b738928.zip |
errors: Remove unused unix_to_werror()
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/errmap_unix.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index 1d5f4d8486..f0ae217222 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -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; |