X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/439e15d09f6fa9271d3b49ef97194f0c80ebe161..3a69c5173cdd24959410870bec2a10a76272e034:/util.h diff --git a/util.h b/util.h index cac3df0..4b82cef 100644 --- a/util.h +++ b/util.h @@ -14,5 +14,6 @@ extern char *estrdup(const char *str); failed_assert(#a, __FILE__, __LINE__); \ } while (0) extern void failed_assert(char *a, char *file, int line); +void pipe_spawn(char *buf, unsigned int len, Display *dpy, const char *cmd); +extern void spawn(Display *dpy, const char *cmd); extern void swap(void **p1, void **p2); -extern void spawn(Display *dpy, const char *shell, const char *cmd);