comparison src/vbuf.c @ 123:ab2a11e72250

more cleanup of #include files. common.h is the only file allowed to include system .h files unprotected by autoconf HAVE_ symbols. define.h is the only other file allowed to include system .h files. define.h is never installed; common.h is installed if we are building the shared library.
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Feb 2009 10:59:10 -0800
parents 6395ced2b8b2
children fc11b1d1ad34
comparison
equal deleted inserted replaced
122:bdb38b434c0a 123:ab2a11e72250
1 1
2 #include <ctype.h> 2 #include "common.h"
3 #include <errno.h> 3 #include "vbuf.h"
4 #include <iconv.h>
5 #include <limits.h>
6 #include <signal.h>
7 #include <stdarg.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 4
12 #include "define.h" 5 #include "define.h"
13 #include "vbuf.h" 6
14 7
15 #ifdef WITH_DMALLOC
16 #include <dmalloc.h>
17 #endif
18
19 #define STUPID_CR "\r\n"
20 #define ASSERT(x,...) { if( !(x) ) DIE(( __VA_ARGS__)); } 8 #define ASSERT(x,...) { if( !(x) ) DIE(( __VA_ARGS__)); }
21 9
22 10
23 int skip_nl(char *s) 11 int skip_nl(char *s)
24 { 12 {