Skip to content
Snippets Groups Projects
Commit fb6e80f3 authored by deuce's avatar deuce
Browse files

Const-ify od_printf() argument

parent a76dfa58
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
* *
* Return: void * Return: void
*/ */
ODAPIDEF void ODVCALL od_printf(char *pszFormat,...) ODAPIDEF void ODVCALL od_printf(const char *pszFormat,...)
{ {
va_list pArgumentList; va_list pArgumentList;
static char *pszWorkBuffer = NULL; static char *pszWorkBuffer = NULL;
......
...@@ -996,7 +996,7 @@ ODAPIDEF void ODCALL od_parse_cmd_line(INT nArgCount, ...@@ -996,7 +996,7 @@ ODAPIDEF void ODCALL od_parse_cmd_line(INT nArgCount,
#endif /* !ODPLAT_WIN32 */ #endif /* !ODPLAT_WIN32 */
ODAPIDEF INT ODCALL od_popup_menu(char *pszTitle, char *pszText, ODAPIDEF INT ODCALL od_popup_menu(char *pszTitle, char *pszText,
INT nLeft, INT nTop, INT nLevel, WORD uFlags); INT nLeft, INT nTop, INT nLevel, WORD uFlags);
ODAPIDEF void ODVCALL od_printf(char *pszFormat, ...); ODAPIDEF void ODVCALL od_printf(const char *pszFormat, ...);
ODAPIDEF void ODCALL od_putch(char chToDisplay); ODAPIDEF void ODCALL od_putch(char chToDisplay);
ODAPIDEF BOOL ODCALL od_puttext(INT nLeft, INT nTop, INT nRight, ODAPIDEF BOOL ODCALL od_puttext(INT nLeft, INT nTop, INT nRight,
INT nBottom, void *pBlock); INT nBottom, void *pBlock);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment