commit fb1d7443a17a638b8912319d5f444e3986f22b09
parent 5a078dfe240210c7a7807a829d53c3dc8250cc13
Author: Kris Maglione <kris@suckless.org>
Date: Wed, 2 Jun 2010 01:30:44 -0400
Fix randomly reverted files.
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/libstuff/x11/properties/changeprop_char.c b/lib/libstuff/x11/properties/changeprop_char.c
@@ -4,6 +4,6 @@
#include "../x11.h"
void
-changeprop_char(Window *w, const char *prop, const char *type, char data[], int len) {
- changeproperty(w, prop, type, 8, (uchar*)data, len);
+changeprop_char(Window *w, const char *prop, const char *type, const char data[], int len) {
+ changeproperty(w, prop, type, 8, (const uchar*)data, len);
}
diff --git a/lib/libstuff/x11/properties/getprop_textlist.c b/lib/libstuff/x11/properties/getprop_textlist.c
@@ -4,7 +4,7 @@
#include "../x11.h"
int
-getprop_textlist(Window *w, char *name, char **ret[]) {
+getprop_textlist(Window *w, const char *name, char **ret[]) {
XTextProperty prop;
char **list;
int n;