From 6ce626201457ddb63a42b0aa1a601ab1f8ca0212 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 16 Sep 2014 23:38:24 +0200 Subject: lib: Make nt_err_code_struct private Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Sep 17 02:56:54 CEST 2014 on sn-devel-104 --- libcli/util/nterr.c | 6 ++++++ libcli/util/ntstatus.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libcli/util/nterr.c b/libcli/util/nterr.c index ce2647d6ee..9f90f7a95f 100644 --- a/libcli/util/nterr.c +++ b/libcli/util/nterr.c @@ -33,6 +33,12 @@ #define DOS_CODE(class, code) { #class ":" #code, NT_STATUS_DOS(class, code) } #define LDAP_CODE(code) { #code, NT_STATUS_LDAP(code) } +typedef struct +{ + const char *nt_errstr; + NTSTATUS nt_errcode; +} nt_err_code_struct; + const nt_err_code_struct nt_errs[] = { { "NT_STATUS_OK", NT_STATUS_OK }, diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index 1c3f98b924..bb19234e3f 100644 --- a/libcli/util/ntstatus.h +++ b/libcli/util/ntstatus.h @@ -2008,10 +2008,4 @@ NTSTATUS nt_status_string_to_code(const char *nt_status_str); (((NT_STATUS_V(status) & 0xFFFF) == 0xC0020000) || \ ((NT_STATUS_V(status) & 0xFFFF) == 0xC0030000)) -typedef struct -{ - const char *nt_errstr; - NTSTATUS nt_errcode; -} nt_err_code_struct; - #endif /* _NTSTATUS_H */ -- cgit