1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

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
This commit is contained in:
Rusty Russell 2012-03-14 15:31:01 +10:30
parent 4d613d9ceb
commit 3272ba0d2d
17 changed files with 0 additions and 20 deletions

View File

@ -1,6 +1,3 @@
/* We need this otherwise fcntl locking fails. */
#define _FILE_OFFSET_BITS 64
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include <unistd.h>
#include "lock-tracking.h"
static ssize_t pwrite_check(int fd, const void *buf, size_t count, off_t offset);

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "lock-tracking.h"
#define fcntl fcntl_with_lockcheck
#include "../common/tdb_private.h"

View File

@ -1,5 +1,3 @@
#define _XOPEN_SOURCE 500
#include <unistd.h>
#include "lock-tracking.h"
#define fcntl fcntl_with_lockcheck

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -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"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "lock-tracking.h"
#define fcntl fcntl_with_lockcheck
#include "../common/tdb_private.h"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"

View File

@ -1,4 +1,3 @@
#define _XOPEN_SOURCE 500
#include "../common/tdb_private.h"
#include "../common/io.c"
#include "../common/tdb.c"