diff options
author | David Shaw <[email protected]> | 2003-05-24 16:40:46 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-05-24 16:40:46 +0000 |
commit | 702dfdff274c480de13fcd857fd11c2e848f41d2 (patch) | |
tree | 8e2a2d9636044f4f37c75219b26c0f19600af946 /include/memory.h | |
parent | * configure.ac: Edit preprocessor instructions in g10defs.h to remove (diff) | |
download | gnupg-702dfdff274c480de13fcd857fd11c2e848f41d2.tar.gz gnupg-702dfdff274c480de13fcd857fd11c2e848f41d2.zip |
* cipher.h, i18n.h, iobuf.h, memory.h, mpi.h, types.h, util.h: Edit all
preprocessor instructions to remove whitespace before the '#'. This is
not required by C89, but there are some compilers out there that don't
like it.
Diffstat (limited to 'include/memory.h')
-rw-r--r-- | include/memory.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/include/memory.h b/include/memory.h index 6a364795b..959f2999e 100644 --- a/include/memory.h +++ b/include/memory.h @@ -23,12 +23,12 @@ #ifdef M_DEBUG #ifndef STR - #define STR(v) #v +#define STR(v) #v #endif #ifndef __riscos__ - #define M_DBGINFO(a) __FUNCTION__ "["__FILE__ ":" STR(a) "]" +#define M_DBGINFO(a) __FUNCTION__ "["__FILE__ ":" STR(a) "]" #else /* __riscos__ */ - #define M_DBGINFO(a) "["__FILE__ ":" STR(a) "]" +#define M_DBGINFO(a) "["__FILE__ ":" STR(a) "]" #endif /* __riscos__ */ #define m_alloc(n) m_debug_alloc((n), M_DBGINFO( __LINE__ ) ) #define m_alloc_clear(n) m_debug_alloc_clear((n), M_DBGINFO(__LINE__) ) @@ -77,19 +77,17 @@ void secmem_set_flags( unsigned flags ); unsigned secmem_get_flags(void); - #define DBG_MEMORY memory_debug_mode #define DBG_MEMSTAT memory_stat_debug_mode #ifndef EXTERN_UNLESS_MAIN_MODULE - #if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) - #define EXTERN_UNLESS_MAIN_MODULE extern - #else - #define EXTERN_UNLESS_MAIN_MODULE - #endif +#if defined (__riscos__) && !defined (INCLUDED_BY_MAIN_MODULE) +#define EXTERN_UNLESS_MAIN_MODULE extern +#else +#define EXTERN_UNLESS_MAIN_MODULE +#endif #endif EXTERN_UNLESS_MAIN_MODULE int memory_debug_mode; EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode; - #endif /*G10_MEMORY_H*/ |