s3:include: move MAX_DEBUG_LEVEL from local.h to debug.h
authorStefan Metzmacher <metze@samba.org>
Sun, 24 Oct 2010 17:44:21 +0000 (19:44 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 24 Oct 2010 18:40:13 +0000 (18:40 +0000)
metze

source3/include/debug.h
source3/include/local.h

index 2c910dac395be5dffa3ae7518de0289280a46486..1e7e51433d5a8fb553e1acdb14ced790339512a9 100644 (file)
  * Debugging code.  See also debug.c
  */
 
+/* the maximum debug level to compile into the code. This assumes a good
+   optimising compiler that can remove unused code
+   for embedded or low-memory systems set this to a value like 2 to get
+   only important messages. This gives *much* smaller binaries
+*/
+#ifndef MAX_DEBUG_LEVEL
+#define MAX_DEBUG_LEVEL 1000
+#endif
+
 /* mkproto.awk has trouble with ifdef'd function definitions (it ignores
  * the #ifdef directive and will read both definitions, thus creating two
  * diffferent prototype declarations), so we must do these by hand.
index 93ec4cc9db5879aab1a3dd81f8d24677dea7db4c..6c9a8c3055c86340ef9529ec7daae2bf4c3fb02b 100644 (file)
 #define WORKGROUP "WORKGROUP"
 #endif
 
-/* the maximum debug level to compile into the code. This assumes a good 
-   optimising compiler that can remove unused code 
-   for embedded or low-memory systems set this to a value like 2 to get
-   only important messages. This gives *much* smaller binaries
-*/
-#ifndef MAX_DEBUG_LEVEL
-#define MAX_DEBUG_LEVEL 1000
-#endif
-
 /* This defines the section name in the configuration file that will contain */
 /* global parameters - that is, parameters relating to the whole server, not */
 /* just services. This name is then reserved, and may not be used as a       */