Diff for /embedaddon/lighttpd/src/buffer.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2013/10/14 10:32:47 version 1.1.1.2, 2014/06/15 20:20:06
Line 9 Line 9
   
 #include <stdlib.h>  #include <stdlib.h>
 #include <sys/types.h>  #include <sys/types.h>
 #include <stdio.h>  
   
 typedef struct {  typedef struct {
         char *ptr;          char *ptr;
Line 127  int light_isalnum(int c); Line 126  int light_isalnum(int c);
 #define CONST_BUF_LEN(x) x->ptr, x->used ? x->used - 1 : 0  #define CONST_BUF_LEN(x) x->ptr, x->used ? x->used - 1 : 0
   
   
 #define SEGFAULT() do { fprintf(stderr, "%s.%d: aborted\n", __FILE__, __LINE__); abort(); } while(0)  
 #define UNUSED(x) ( (void)(x) )  #define UNUSED(x) ( (void)(x) )
   
   void log_failed_assert(const char *filename, unsigned int line, const char *msg) LI_NORETURN;
   #define force_assert(x) do { if (!(x)) log_failed_assert(__FILE__, __LINE__, "assertion failed: " #x); } while(0)
   #define SEGFAULT() log_failed_assert(__FILE__, __LINE__, "aborted");
   
 #endif  #endif

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>