summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/cbuf.h5
-rw-r--r--source3/lib/srprs.c5
-rw-r--r--source3/lib/srprs.h3
3 files changed, 1 insertions, 12 deletions
diff --git a/source3/lib/cbuf.h b/source3/lib/cbuf.h
index 90318ec7a9..b9c5552826 100644
--- a/source3/lib/cbuf.h
+++ b/source3/lib/cbuf.h
@@ -29,11 +29,6 @@
#ifndef __CBUF_H
#define __CBUF_H
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
-
-
struct cbuf;
typedef struct cbuf cbuf;
diff --git a/source3/lib/srprs.c b/source3/lib/srprs.c
index 5a032d27b6..35920f18c2 100644
--- a/source3/lib/srprs.c
+++ b/source3/lib/srprs.c
@@ -24,12 +24,9 @@
* @brief A simple recursive parser.
*/
+#include "includes.h"
#include "srprs.h"
#include "cbuf.h"
-#include <ctype.h>
-#include <string.h>
-#include <assert.h>
-#include <stdio.h>
bool srprs_skipws(const char** ptr) {
while (isspace(**ptr))
diff --git a/source3/lib/srprs.h b/source3/lib/srprs.h
index 350e08c2c1..c1aec13e4a 100644
--- a/source3/lib/srprs.h
+++ b/source3/lib/srprs.h
@@ -34,9 +34,6 @@
#ifndef __SRPRS_H
#define __SRPRS_H
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
struct cbuf;
/**