mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
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 <philipp.gesang@intra2net.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c324f84a2f
commit
e68dd420b4
@ -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.
|
||||
*****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user