1
0
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:
John D Pell
2021-08-08 09:36:14 +02:00
committed by Carlos R. Mafra
parent 03ec24502d
commit a079544647
7 changed files with 15 additions and 13 deletions

View File

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