WINGs: Added 'const' attribute to functions in wbutton, wframe, wlabel, wlist, wwindow

This makes both the API and local function const-correct on their
input parameters.
This commit is contained in:
Christophe CURIS
2013-05-09 16:56:28 +01:00
committed by Carlos R. Mafra
parent e7c8ac76ea
commit c89e8df33f
6 changed files with 32 additions and 26 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ void WMSetFrameRelief(WMFrame * fPtr, WMReliefType relief)
}
}
void WMSetFrameTitle(WMFrame * fPtr, char *title)
void WMSetFrameTitle(WMFrame * fPtr, const char *title)
{
if (fPtr->caption)
wfree(fPtr->caption);