]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Move declaration of LD_NO_MESG to make conflict more apparent.
authorNick Mathewson <nickm@torproject.org>
Mon, 8 Jul 2019 17:00:31 +0000 (13:00 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 8 Jul 2019 17:00:31 +0000 (13:00 -0400)
src/lib/log/log.h

index 3db21695841a99e5ffd9c3dfc221e8a343d5a3e0..bd606ce90087b295c0fb28f92bf216b3164c64f6 100644 (file)
 #define LD_MESG      (1u<<29)
 #define N_LOGGING_DOMAINS 30
 
+#ifdef TOR_UNIT_TESTS
+/** This log message should not be intercepted by mock_saving_logv */
+#define LD_NO_MOCK (1u<<29)
+#endif
+
 /** This log message is not safe to send to a callback-based logger
  * immediately.  Used as a flag, not a log domain. */
 #define LD_NOCB (1u<<31)
  * would. Used as a flag, not a log domain. */
 #define LD_NOFUNCNAME (1u<<30)
 
-#ifdef TOR_UNIT_TESTS
-/** This log message should not be intercepted by mock_saving_logv */
-#define LD_NO_MOCK (1u<<29)
-#endif
-
 /** Mask of zero or more log domains, OR'd together. */
 typedef uint32_t log_domain_mask_t;