X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=util.h;fp=util.h;h=cac3df032827c22e5f978829d16eee9cebed29a5;hp=8ba444b0d845d6217d6da9b2009fe661c7458111;hb=439e15d09f6fa9271d3b49ef97194f0c80ebe161;hpb=2de59d0f0927cec656fc4b9f6fc9ea178fb01c1e 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);