libcli: remove declaration of nt_errstr_const
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Wed, 16 Jan 2019 09:01:28 +0000 (10:01 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 16 Jan 2019 17:51:27 +0000 (18:51 +0100)
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>
libcli/util/ntstatus.h

index e24d6eb98439e2465482caaccfd0aef3225ae0d0..4b5f1ca1802f93f83f36d3df1b9d8846791639da 100644 (file)
@@ -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.
  *****************************************************************************/