diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-10-24 19:44:21 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-10-24 18:40:13 +0000 |
commit | dbc934ee4b98f04b4c21d650a018e8aae9e437fa (patch) | |
tree | fa2f01d21b0ef080a1474cfcf8e27a55c770394d | |
parent | 32189689df2bc40473dfeaccff6219f8e0d56b76 (diff) | |
download | samba-dbc934ee4b98f04b4c21d650a018e8aae9e437fa.tar.gz samba-dbc934ee4b98f04b4c21d650a018e8aae9e437fa.tar.bz2 samba-dbc934ee4b98f04b4c21d650a018e8aae9e437fa.zip |
s3:include: move MAX_DEBUG_LEVEL from local.h to debug.h
metze
-rw-r--r-- | source3/include/debug.h | 9 | ||||
-rw-r--r-- | source3/include/local.h | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h index 2c910dac39..1e7e51433d 100644 --- a/source3/include/debug.h +++ b/source3/include/debug.h @@ -27,6 +27,15 @@ * 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. diff --git a/source3/include/local.h b/source3/include/local.h index 93ec4cc9db..6c9a8c3055 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -10,15 +10,6 @@ #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 */ |