#include <stdarg.h>
#include "cond.tab.h"
-#include "brum.h"
-#define BUFSIZE 4096
+#include "umpf.h"
#define KLEN 10
struct keys {
return ret;
}
+void*
+xrealloc(void* buf, size_t size)
+{
+ buf = realloc(buf, size);
+
+ if (!buf)
+ die("Low memory");
+
+ return buf;
+}
+
static void __attribute__ ((noreturn))
parse_err(char* msg, ...)
{
}
char*
-xstrdup(char* s)
+xstrdup(const char* s)
{
void* ret;