mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-17 23:05:50 +01:00
WINGs: Properly mark 'const' some 'char*' in the public API
Update all the callers in our code to deal with the const qualifier where the compiler reports an issue.
This commit is contained in:
committed by
Carlos R. Mafra
parent
03ec24502d
commit
a079544647
@@ -619,11 +619,12 @@ void WMSetBrowserHasScroller(WMBrowser * bPtr, int hasScroller)
|
||||
bPtr->flags.hasScroller = hasScroller;
|
||||
}
|
||||
|
||||
char *WMSetBrowserPath(WMBrowser * bPtr, char *path)
|
||||
const char *WMSetBrowserPath(WMBrowser * bPtr, const char *path)
|
||||
{
|
||||
int i;
|
||||
char *str;
|
||||
char *tmp, *retPtr = NULL;
|
||||
char *tmp;
|
||||
const char *retPtr = NULL;
|
||||
int item;
|
||||
WMListItem *listItem;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user