werror: removed WERR_BADFUNC
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:10 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:17 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/util/doserr.c
libcli/util/werror.h

index 7d07e38bf3927c82863df9857a3ff282c0e287dd..066d8be1b7b2004ed2604260e80785e5c5fd5b9d 100644 (file)
@@ -32,7 +32,6 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_BADFILE", WERR_BADFILE },
        { "WERR_ACCESS_DENIED", WERR_ACCESS_DENIED },
        { "WERR_BADFID", WERR_BADFID },
-       { "WERR_BADFUNC", WERR_BADFUNC },
        { "WERR_BAD_NETPATH", WERR_BAD_NETPATH },
        { "WERR_BAD_NET_RESP",  WERR_BAD_NET_RESP },
        { "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR },
index 50743165aba5655f220ffd424fc2c3a9ebcab317..9010075f2f116070045a536b1bd42e505da3e303 100644 (file)
@@ -82,7 +82,6 @@ typedef uint32_t WERROR;
 /* these are win32 error codes. There are only a few places where
    these matter for Samba, primarily in the NT printing code */
 #define WERR_OK W_ERROR(0x00000000)
-#define WERR_BADFUNC W_ERROR(0x00000001)
 #define WERR_BADFILE W_ERROR(0x00000002)
 #define WERR_ACCESS_DENIED W_ERROR(0x00000005)
 #define WERR_BADFID W_ERROR(0x00000006)