summaryrefslogtreecommitdiff
path: root/libcli/util/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/util/error.h')
-rw-r--r--libcli/util/error.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h
index 7b7de6c4f0..5c4dc10916 100644
--- a/libcli/util/error.h
+++ b/libcli/util/error.h
@@ -23,9 +23,6 @@
#include "libcli/util/doserr.h"
#include "libcli/util/ntstatus.h"
-/** NT error on DOS connection! (NT_STATUS_OK) */
-bool ntstatus_dos_equal(NTSTATUS status1, NTSTATUS status2);
-
/*****************************************************************************
convert a NT status code to a dos class/code
*****************************************************************************/
@@ -44,12 +41,7 @@ WERROR ntstatus_to_werror(NTSTATUS error);
/*********************************************************************
Map an NT error code from a Unix error code.
*********************************************************************/
-NTSTATUS map_nt_error_from_unix(int unix_error);
-
-/*********************************************************************
-convert a Unix error code to a WERROR
-*********************************************************************/
-WERROR unix_to_werror(int unix_error);
+NTSTATUS map_nt_error_from_unix_common(int unix_error);
NTSTATUS nt_status_squash(NTSTATUS nt_status);