util: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS
2013-05-12 01:01:19 +01:00
committed by Carlos R. Mafra
parent d44aa97243
commit 5d03c455fc
8 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ Time getTimestamp(Display * dpy, Window win)
return ev.xproperty.time;
}
char *fetchSelection(Display * dpy, char *selection, char *progName)
char *fetchSelection(Display * dpy, const char *selection, const char *progName)
{
Atom selatom = XInternAtom(dpy, selection, False);
Atom clipatom = XInternAtom(dpy, "CLIPBOARD", False);