util: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS authored and Carlos R. Mafra committed 2013-05-12 01:01:19 +01:00
1 parent d44aa97243
commit 5d03c455fc
8 files changed
+27 -27

No files matched your search

+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);