1 /* 2 * Copyright (C) 1998-2000 by Marco G"otze. 3 * 4 * This code is part of the wmpinboard source package, which is 5 * distributed under the terms of the GNU GPL2. 6 */ 7 8 #ifndef MISC_H_INCLUDED 9 #define MISC_H_INCLUDED 10 11 #include "wmpinboard.h" 12 13 #define WARN(msg) fprintf(stderr, "Warning: %s\n", msg) 14 15 void die(const char*); 16 void *smalloc(long); 17 int string_empty(char*, int); 18 int flush_instance(int); 19 char *csarbmel(const char *); 20 void block_sigs(); 21 void unblock_sigs(); 22 23 #endif /* MISC_H_INCLUDED */ 24 25