s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to nt_status.h
authorMichael Adam <obnox@samba.org>
Wed, 25 Feb 2009 15:53:05 +0000 (16:53 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 19 Mar 2009 11:12:11 +0000 (12:12 +0100)
where all the other W_ERROR_xyz macros are found as well.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
source/include/nt_status.h
source/libnet/libnet_join.c

index 30174e4b51904f9d2bab07e1150ffad63adaac05..bf35d913f2365e57f30673d86c3abdb3596ca69a 100644 (file)
@@ -83,6 +83,12 @@ typedef uint32 WERROR;
        }\
 } while (0)
 
+#define W_ERROR_NOT_OK_GOTO_DONE(x) do { \
+       if (!W_ERROR_IS_OK(x)) {\
+               goto done;\
+       }\
+} while (0)
+
 /* The top byte in an NTSTATUS code is used as a type field.
  * Windows only uses value 0xC0 as an indicator for an NT error
  * and 0x00 for success.
index 488996c44f915b13d90ec8353f21fcd235377e7b..1bea16eacf5e4021e6b566e2d4042fdcb38fb3f4 100644 (file)
 #define LIBNET_UNJOIN_OUT_DUMP_CTX(ctx, r) \
        LIBNET_UNJOIN_DUMP_CTX(ctx, r, NDR_OUT)
 
-#define W_ERROR_NOT_OK_GOTO_DONE(x) do { \
-       if (!W_ERROR_IS_OK(x)) {\
-               goto done;\
-       }\
-} while (0)
-
 /****************************************************************
 ****************************************************************/