summaryrefslogtreecommitdiff
path: root/lib/tdb/test/run-readonly-check.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-03-14 15:31:01 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-03-14 10:12:26 +0100
commit3272ba0d2d63e6a7d00972bc2c052aee84f073fd (patch)
tree54b66055a6ad90335a191c84553501f011b88379 /lib/tdb/test/run-readonly-check.c
parent4d613d9ceb99effdaac51e275f2b7c838148261c (diff)
downloadsamba-3272ba0d2d63e6a7d00972bc2c052aee84f073fd.tar.gz
samba-3272ba0d2d63e6a7d00972bc2c052aee84f073fd.tar.bz2
samba-3272ba0d2d63e6a7d00972bc2c052aee84f073fd.zip
lib/tdb: remove unnecessary XOPEN and FILE_OFFSET_BITS defines in test/
These were relics: they don't need to be defined here as long as we are careful to include the replace headers before any standard headers (we are). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Mar 14 10:12:26 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/tdb/test/run-readonly-check.c')
-rw-r--r--lib/tdb/test/run-readonly-check.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/tdb/test/run-readonly-check.c b/lib/tdb/test/run-readonly-check.c
index eb8f74f69f..b4b85fb7c7 100644
--- a/lib/tdb/test/run-readonly-check.c
+++ b/lib/tdb/test/run-readonly-check.c
@@ -1,6 +1,5 @@
/* We should be able to tdb_check a O_RDONLY tdb, and we were previously allowed
* to tdb_check() inside a transaction (though that's paranoia!). */
-#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"