From 6c2b1981da5b5426a5a59b5d6c50f69e9aab9e6f Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Fri, 19 Jun 2020 12:54:16 -0700 Subject: [PATCH] libcli: Remove define for STATUS_NOTIFY_ENUM_DIR The auto-generated define NT_STATUS_NOTIFY_ENUM_DIR is still available. Signed-off-by: Christof Schmitt Reviewed-by: Gary Lockyer --- libcli/util/nterr.c | 1 - libcli/util/ntstatus.h | 1 - 2 files changed, 2 deletions(-) diff --git a/libcli/util/nterr.c b/libcli/util/nterr.c index 3537735aec3..46a91ef92b7 100644 --- a/libcli/util/nterr.c +++ b/libcli/util/nterr.c @@ -53,7 +53,6 @@ static const nt_err_code_struct special_errs[] = { "STATUS_BUFFER_OVERFLOW", STATUS_BUFFER_OVERFLOW }, { "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES }, { "STATUS_SOME_UNMAPPED", STATUS_SOME_UNMAPPED }, - { "STATUS_NOTIFY_ENUM_DIR", STATUS_NOTIFY_ENUM_DIR }, { "NT_STATUS_ERROR_DS_OBJ_STRING_NAME_EXISTS", NT_STATUS_ERROR_DS_OBJ_STRING_NAME_EXISTS }, { "NT_STATUS_ERROR_DS_INCOMPATIBLE_VERSION", NT_STATUS_ERROR_DS_INCOMPATIBLE_VERSION }, { "NT_STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP", NT_STATUS_SMB_NO_PREAUTH_INTEGRITY_HASH_OVERLAP }, diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index 2182999d10f..cd086b97534 100644 --- a/libcli/util/ntstatus.h +++ b/libcli/util/ntstatus.h @@ -56,7 +56,6 @@ typedef uint32_t NTSTATUS; #define STATUS_NO_MORE_FILES NT_STATUS_NO_MORE_FILES #define STATUS_INVALID_EA_NAME NT_STATUS_INVALID_EA_NAME #define STATUS_SOME_UNMAPPED NT_STATUS_SOME_NOT_MAPPED -#define STATUS_NOTIFY_ENUM_DIR NT_STATUS_NOTIFY_ENUM_DIR #define STATUS_PENDING NT_STATUS_PENDING #define STATUS_STOPPED_ON_SYMLINK NT_STATUS_STOPPED_ON_SYMLINK #define STATUS_EA_LIST_INCONSISTENT NT_STATUS_EA_LIST_INCONSISTENT