1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

util: Added 'const' attribute to function parameters

This commit is contained in:
Christophe CURIS
2013-05-12 00:24:37 +02:00
committed by Carlos R. Mafra
parent d44aa97243
commit 5d03c455fc
8 changed files with 27 additions and 27 deletions

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