From cad704e8368f6aba28889966a7382afc8b738928 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 May 2011 17:00:23 +1000 Subject: errors: Remove unused unix_to_werror() --- source3/lib/errmap_unix.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/lib/errmap_unix.c') diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index 1d5f4d84860..f0ae217222e 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; -- cgit v1.2.1