summaryrefslogtreecommitdiff
path: root/x11/rxvt/files/patch-src__grkelot.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/rxvt/files/patch-src__grkelot.c')
-rw-r--r--x11/rxvt/files/patch-src__grkelot.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/rxvt/files/patch-src__grkelot.c b/x11/rxvt/files/patch-src__grkelot.c
new file mode 100644
index 000000000000..c5824b44e0a1
--- /dev/null
+++ b/x11/rxvt/files/patch-src__grkelot.c
@@ -0,0 +1,26 @@
+--- src/grkelot.c
++++ src/grkelot.c
+@@ -80,10 +80,6 @@
+ #define MAX_SWITCHER 2U /* per state */
+ #define MAX_VAL 256 /* for temp allocation */
+
+-typedef unsigned char u_char;
+-typedef unsigned int u_int;
+-typedef unsigned long u_long;
+-
+ typedef struct s_xlat {
+ u_int first, last;
+ u_int *pval; /* array of translated values */
+@@ -158,9 +154,9 @@
+
+ #define NUM_XLAT_TYPES (sizeof(xlat_type) / sizeof(xlat_type[0]))
+
+-static void kstate_add_xlat(char *str);
+-static void kstate_add_switcher(char *str);
+-static void kstate_set_life(char *str);
++void kstate_add_xlat(char *str);
++void kstate_add_switcher(char *str);
++void kstate_set_life(char *str);
+
+ /* --- Functions ------------- */
+ /* INTPROTO */