diff options
author | Amitay Isaacs <amitay@gmail.com> | 2015-10-28 19:52:02 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2015-11-04 00:47:16 +0100 |
commit | 3b71d0592752295e6f1f642cb647ca965e2abfe9 (patch) | |
tree | cc94beced526d4ad19eb81a57bcfae6fe7f55f81 /ctdb/tools/ltdbtool.c | |
parent | 409c92b6c6dc54a072743dc2bb6bcaa533cc5110 (diff) | |
download | samba-3b71d0592752295e6f1f642cb647ca965e2abfe9.tar.gz |
ctdb-tools: Use replace headers instead of system headers
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/tools/ltdbtool.c')
-rw-r--r-- | ctdb/tools/ltdbtool.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/ctdb/tools/ltdbtool.c b/ctdb/tools/ltdbtool.c index 13fd7f98d7d..7ac70e2fe47 100644 --- a/ctdb/tools/ltdbtool.c +++ b/ctdb/tools/ltdbtool.c @@ -18,23 +18,14 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> -#include <stdbool.h> -#include <stddef.h> -#include <stdlib.h> -#include <ctype.h> /* isprint */ -#include <string.h> /* strstr */ -#include <fcntl.h> /* mode_t */ -#include <sys/stat.h> /* S_IRUSR */ -#include <stdint.h> /* uint32_t */ -#include <netinet/in.h> /* struct sockaddr_in */ -#include <sys/socket.h> /* struct sockaddr */ -#include <sys/param.h> /* MIN */ +#include "replace.h" +#include "system/filesys.h" +#include "system/network.h" +#include "system/locale.h" + #include <tdb.h> -#include <unistd.h> /* getopt */ -#include <errno.h> -#include "ctdb_protocol.h" +#include "protocol/protocol.h" enum { MAX_HEADER_SIZE=24, |