openbsd-ports/audio/teknap/patches/patch-source_status_c

13 lines
602 B
Plaintext

$OpenBSD: patch-source_status_c,v 1.1 2003/12/29 21:10:58 espie Exp $
--- source/status.c.orig 2003-12-29 22:02:36.000000000 +0100
+++ source/status.c 2003-12-29 22:03:00.000000000 +0100
@@ -38,7 +38,7 @@ extern char *ltoa (long);
* Maximum number of "%" expressions in a status line format. If you change
* this number, you must manually change the sprintf() in make_status
*/
-#define STATUS_FUNCTION(x) static Char * ## x (Window *window, int map, int key)
+#define STATUS_FUNCTION(x) static Char *x (Window *window, int map, int key)
#define MAX_FUNCTIONS 40
#define MAX_STATUS_USER 19