s3:lib: use includes.h with cbuf and srprs
authorGregor Beck <gbeck@sernet.de>
Thu, 6 Sep 2012 09:52:58 +0000 (11:52 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Sep 2012 21:39:45 +0000 (23:39 +0200)
hopefully fixes build on hpux

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/lib/cbuf.h
source3/lib/srprs.c
source3/lib/srprs.h

index 90318ec7a992c92728ef3883b1750a1ed26fb5e6..b9c555282693ebb3960eb3b366721f89c080872d 100644 (file)
 #ifndef __CBUF_H
 #define __CBUF_H
 
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
-
-
 struct cbuf;
 typedef struct cbuf cbuf;
 
index 5a032d27b6e24a24b2403ef0dba53043182a3975..35920f18c218dd19e280525c8b2a6a2d7880935a 100644 (file)
  * @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))
index 350e08c2c1810aee02309f8a62400083338262e7..c1aec13e4af0cd0884c4955f525beeae60a917b9 100644 (file)
@@ -34,9 +34,6 @@
 #ifndef __SRPRS_H
 #define __SRPRS_H
 
-#include <stddef.h>
-#include <stdbool.h>
-#include <stdint.h>
 struct cbuf;
 
 /**