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 cf0dc06d authored by deuce's avatar deuce

More const goodness.

parent 34f18ba6
......@@ -1001,7 +1001,7 @@ static FILE *ODEmulateFindCompatFile(const char *pszBaseName, INT *pnLevel)
*
* Return: void
*/
ODAPIDEF void ODCALL od_disp_emu(char *pszToDisplay, BOOL bRemoteEcho)
ODAPIDEF void ODCALL od_disp_emu(const char *pszToDisplay, BOOL bRemoteEcho)
{
BOOL bTranslateRemote;
......
......@@ -108,7 +108,7 @@ ODAPIDEF void ODCALL ODMPSEnable(void)
*
* Return: TRUE on success, or FALSE on failure.
*/
ODAPIDEF BOOL ODCALL od_set_personality(char *pszName)
ODAPIDEF BOOL ODCALL od_set_personality(const char *pszName)
{
#ifdef OD_TEXTMODE
BYTE btNewPersonality;
......@@ -213,7 +213,7 @@ ODAPIDEF BOOL ODCALL od_set_personality(char *pszName)
*
* Return: TRUE on success or FALSE on failure.
*/
ODAPIDEF BOOL ODCALL od_add_personality(char *pszName, BYTE btOutputTop,
ODAPIDEF BOOL ODCALL od_add_personality(const char *pszName, BYTE btOutputTop,
BYTE btOutputBottom, OD_PERSONALITY_PROC *pfPerFunc)
{
/* Log function entry if running in trace mode */
......
......@@ -172,7 +172,7 @@ int _spawnvpe(int nModeFlag, char *pszPath, char *papszArgs[],
*
* Return: TRUE on success, or FALSE on failure.
*/
ODAPIDEF BOOL ODCALL od_spawn(char *pszCommandLine)
ODAPIDEF BOOL ODCALL od_spawn(const char *pszCommandLine)
{
#ifdef ODPLAT_DOS
char *apszArgs[4];
......
......@@ -948,7 +948,7 @@ od_control;
* od_sleep() - Yield to other processes
* od_control_get() - Returns a pointer to the od_control structure.
*/
ODAPIDEF BOOL ODCALL od_add_personality(char *pszName, BYTE btOutputTop,
ODAPIDEF BOOL ODCALL od_add_personality(const char *pszName, BYTE btOutputTop,
BYTE btOutputBottom,
OD_PERSONALITY_PROC *pfPerFunc);
ODAPIDEF void ODCALL od_autodetect(INT nFlags);
......@@ -960,7 +960,7 @@ ODAPIDEF void ODCALL od_clr_scr(void);
ODAPIDEF BYTE ODCALL od_color_config(char *pszColorDesc);
ODAPIDEF tODControl * ODCALL od_control_get(void);
ODAPIDEF void ODCALL od_disp(char *pachBuffer, INT nSize, BOOL bLocalEcho);
ODAPIDEF void ODCALL od_disp_emu(char *pszToDisplay, BOOL bRemoteEcho);
ODAPIDEF void ODCALL od_disp_emu(const char *pszToDisplay, BOOL bRemoteEcho);
ODAPIDEF void ODCALL od_disp_str(const char *pszToDisplay);
ODAPIDEF BOOL ODCALL od_draw_box(BYTE btLeft, BYTE btTop, BYTE btRight,
BYTE btBottom);
......@@ -1011,10 +1011,10 @@ ODAPIDEF void ODCALL od_set_attrib(INT nColour);
ODAPIDEF void ODCALL od_set_color(INT nForeground, INT nBackground);
ODAPIDEF void ODCALL od_set_cursor(INT nRow, INT nColumn);
ODAPIDEF void ODCALL od_set_dtr(BOOL bHigh);
ODAPIDEF BOOL ODCALL od_set_personality(char *pszName);
ODAPIDEF BOOL ODCALL od_set_personality(const char *pszName);
ODAPIDEF void ODCALL od_set_statusline(INT nSetting);
ODAPIDEF void ODCALL od_sleep(tODMilliSec Milliseconds);
ODAPIDEF BOOL ODCALL od_spawn(char *pszCommandLine);
ODAPIDEF BOOL ODCALL od_spawn(const char *pszCommandLine);
ODAPIDEF INT16 ODCALL od_spawnvpe(INT16 nModeFlag, char *pszPath,
char *papszArg[], char *papszEnv[]);
ODAPIDEF void * ODCALL od_window_create(INT nLeft, INT nTop, INT nRight,
......
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