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:
committed by
Carlos R. Mafra
parent
d44aa97243
commit
5d03c455fc
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user