errors: Remove unused unix_to_werror()
[ira/wip.git] / libcli / util / error.h
index 7b7de6c4f0fa9125dfb746d08ef63557098460a7..5a0027c2b66777f1768d54d00fd4fa2bbcc80ff9 100644 (file)
@@ -46,11 +46,6 @@ WERROR ntstatus_to_werror(NTSTATUS error);
 *********************************************************************/
 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 nt_status_squash(NTSTATUS nt_status);
 
 #endif /* _SAMBA_ERROR_H */