Misc cleanups.

committer: mfx <mfx> 1060699283 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-08-12 14:41:23 +00:00
parent 3db0b0e8fe
commit d1753c6df9
4 changed files with 31 additions and 78 deletions
+2 -10
View File
@@ -194,13 +194,13 @@
#endif
#if !defined(VALGRIND_MAKE_READABLE)
# if 0
# define VALGRIND_MAKE_READABLE(addr,len) memset(addr,0,len), 0
# define VALGRIND_MAKE_READABLE(addr,len) (memset(addr,0,len), 0)
# else
# define VALGRIND_MAKE_READABLE(addr,len) 0
# endif
#endif
#if !defined(VALGRIND_DISCARD)
# define VALGRIND_DISCARD(handle) ((void) &handle)
# define VALGRIND_DISCARD(handle) ACC_UNUSED(handle)
#endif
@@ -288,14 +288,6 @@
# define __attribute_packed
#endif
#undef NOTHROW
#if defined(__cplusplus)
# define NOTHROW throw()
#else
# define NOTHROW
#endif
#if !defined(O_BINARY)
# define O_BINARY 0
#endif