Configuration file for DWM on MacBook Air
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
668 B

18 years ago
18 years ago
  1. /*
  2. * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
  3. * See LICENSE file for license details.
  4. */
  5. #include <X11/Xlib.h>
  6. extern void error(char *errstr, ...);
  7. extern void *emallocz(unsigned int size);
  8. extern void *emalloc(unsigned int size);
  9. extern void *erealloc(void *ptr, unsigned int size);
  10. extern char *estrdup(const char *str);
  11. #define eassert(a) do { \
  12. if(!(a)) \
  13. failed_assert(#a, __FILE__, __LINE__); \
  14. } while (0)
  15. extern void failed_assert(char *a, char *file, int line);
  16. void pipe_spawn(char *buf, unsigned int len, Display *dpy, const char *cmd);
  17. extern void spawn(Display *dpy, const char *cmd);
  18. extern void swap(void **p1, void **p2);