Commit 8e99b0ab authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Dependency on Syslog removed

Const-ness of veneers modified on the basis of the CMHG version number to
avoid build problems.
parent 96b70582
......@@ -37,6 +37,12 @@
volatile static int callback_pending_flag = 0;
#if CMHG_VERSION < 516
#define CMHG_CONST
#else
#define CMHG_CONST const
#endif
#ifdef ROM
static _kernel_oserror *__ROM;
#endif
......@@ -133,7 +139,7 @@ static _kernel_oserror *register_with_url(void)
/*************************************************************/
/* Start up and register ourselves with the URL module */
/*************************************************************/
_kernel_oserror *module_init(const char *cmd_tail, int podule_base, void *pw)
_kernel_oserror *module_init(CMHG_CONST char *cmd_tail, int podule_base, void *pw)
{
_kernel_oserror *e;
......
......@@ -25,8 +25,6 @@
#include <ctype.h>
#include" protocol.h"
#define USE_SYSLOG
#ifdef USE_SYSLOG
#include "<syslog$dir>.C-veneer.h.syslog"
#endif
......
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