Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit fb6e80f3 authored by deuce's avatar deuce

Const-ify od_printf() argument

parent a76dfa58
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment