From 439e15d09f6fa9271d3b49ef97194f0c80ebe161 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 10 Jul 2006 22:16:48 +0200 Subject: added several other stuff --- util.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 8ba444b..cac3df0 100644 --- a/util.h +++ b/util.h @@ -2,6 +2,7 @@ * (C)opyright MMVI Anselm R. Garbe * See LICENSE file for license details. */ +#include extern void error(char *errstr, ...); extern void *emallocz(unsigned int size); @@ -12,5 +13,6 @@ extern char *estrdup(const char *str); if(!(a)) \ failed_assert(#a, __FILE__, __LINE__); \ } while (0) -void failed_assert(char *a, char *file, int line); -void swap(void **p1, void **p2); +extern void failed_assert(char *a, char *file, int line); +extern void swap(void **p1, void **p2); +extern void spawn(Display *dpy, const char *shell, const char *cmd); -- cgit v1.2.3-70-g09d2