aboutsummaryrefslogtreecommitdiffstats
path: root/include/memory.h
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2003-05-21 18:23:46 +0000
committerDavid Shaw <[email protected]>2003-05-21 18:23:46 +0000
commitf73e7d4606c5ec97a9deb189a41ec8d38660879a (patch)
treed34be704ef35f3101eb210bc6b35a6c585e9398b /include/memory.h
parent* sign.c (write_plaintext_packet) (diff)
downloadgnupg-f73e7d4606c5ec97a9deb189a41ec8d38660879a.tar.gz
gnupg-f73e7d4606c5ec97a9deb189a41ec8d38660879a.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.h18
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*/