skiplist/x.h

19 lines
308 B
C
Raw Normal View History

2015-03-20 19:32:11 +00:00
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#define MAXLINE 1024
/*
* Print message and exit.
*/
void fatal(const char *fmt, ...);
/*
* malloc, if failed then fatal exit.
*/
void *xmalloc(size_t size);
/*
* Print debug message if debug is enabled.
*/
void debug(const char *fmt, ...);