From: Philipp Gesang Date: Wed, 16 Jan 2019 09:01:28 +0000 (+0100) Subject: libcli: remove declaration of nt_errstr_const X-Git-Url: http://git.samba.org/?a=commitdiff_plain;ds=sidebyside;h=e68dd420b45a3f7d9ce3b08e866c5495be18b725;p=metze%2Fsamba%2Fwip.git libcli: remove declaration of nt_errstr_const nt_errstr_const was renamed nt_errstr in 2011, rendering the declaration useless. Signed-off-by: Philipp Gesang Reviewed-by: Andreas Schneider Reviewed-by: Jeremy Allison --- diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index e24d6eb98439..4b5f1ca1802f 100644 --- a/libcli/util/ntstatus.h +++ b/libcli/util/ntstatus.h @@ -102,15 +102,6 @@ typedef uint32_t NTSTATUS; * this means we need a torture test */ #define NT_STATUS_FOOBAR NT_STATUS_UNSUCCESSFUL -/***************************************************************************** - Returns an NT error message. not amazingly helpful, but better than a number. - - This version is const, and so neither allocates memory nor uses a - static variable for unknown errors. - *****************************************************************************/ - -const char *nt_errstr_const(NTSTATUS nt_code); - /***************************************************************************** returns an NT error message. not amazingly helpful, but better than a number. *****************************************************************************/