summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 17:00:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-06 07:51:24 +0200
commitcad704e8368f6aba28889966a7382afc8b738928 (patch)
treecdf6a1bd478e37d87134d67e3f01d9110ada7a2a /source4/libcli
parentdb74cad1c638ae2142b89757397b50009ea0678a (diff)
downloadsamba-cad704e8368f6aba28889966a7382afc8b738928.tar.gz
samba-cad704e8368f6aba28889966a7382afc8b738928.tar.bz2
samba-cad704e8368f6aba28889966a7382afc8b738928.zip
errors: Remove unused unix_to_werror()
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/errormap.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index b06f27e120..16e0746bad 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -726,8 +726,3 @@ NTSTATUS map_nt_error_from_unix(int unix_error)
return NT_STATUS_UNSUCCESSFUL;
}
-/* Convert a Unix error code to WERROR */
-WERROR unix_to_werror(int unix_error)
-{
- return ntstatus_to_werror(map_nt_error_from_unix(unix_error));
-}