*/
/* ss029.103: addition: procId added and timer function type modified */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SRegCfgTmr
(
Ent ent, /* entity */
S16 units, /* period units */
PFS16 tmrFnct /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmr(ent, inst, period, units, tmrFnct)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PFS16 tmrFnct; /* timer function, typically SActvTmr */
-#endif
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SRegCfgTmr
(
ProcId proc, /* processor */
S16 units, /* period units */
PAIFTMRS16 tmrFnct /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmr(proc, ent, inst, period, units, tmrFnct)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnct; /* timer function, typically SActvTmr */
-#endif
-
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
* File: ss_timer.c
*
*/
-#ifdef ANSI
S16 SRegCfgTmrMt
(
Ent ent, /* entity */
S16 units, /* period units */
PAIFTMRS16 tmrFnctMt /* timer function, typically SActvTmr */
)
-#else
-S16 SRegCfgTmrMt(ent, inst, period, units, tmrFnctMt)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnctMt; /* timer function, typically SActvTmr */
-#endif
{
S16 ret;
/* ss015.301 - Enclosed all timer activation functions in a union. */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
static S16 STmrRegHndlr
(
Ent ent, /* entity */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function, typically SActvTmr */
)
-#else
-static S16 STmrRegHndlr(ent, inst, period, units, ssTmrActvFn)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function, typically SActvTmr */
-#endif
/* ss015.301: Removed the timer handler prototypes guarded
* under SS_MT_TMR and handled mtFlag in existing timer handlers.
*/
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
static S16 STmrRegHndlr
(
ProcId proc, /* processor */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-static S16 STmrRegHndlr(proc, ent, inst, period, units, ssTmrActvFn)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
-
#endif /* SS_MULTIPLE_PROCS */
{
#if (ERRCLASS & ERRCLS_INT_PAR)
/* ss029.103: addition: procId added and timer function type modified */
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
S16 SDeregCfgTmr
(
Ent ent, /* entity */
S16 units, /* period units */
PFS16 tmrFnct /* timer function */
)
-#else
-S16 SDeregCfgTmr(ent, inst, period, units, tmrFnct)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PFS16 tmrFnct; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
S16 SDeregCfgTmr
(
ProcId proc, /* processor */
S16 units, /* period units */
PAIFTMRS16 tmrFnct /* timer function */
)
-#else
-S16 SDeregCfgTmr(proc, ent, inst, period, units, tmrFnct)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnct; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
* File: ss_timer.c
*
*/
-#ifdef ANSI
S16 SDeregCfgTmrMt
(
Ent ent, /* entity */
S16 units, /* period units */
PAIFTMRS16 tmrFnctMt /* timer function */
)
-#else
-S16 SDeregCfgTmrMt(ent, inst, period, units, tmrFnctMt)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-PAIFTMRS16 tmrFnctMt; /* timer function */
-#endif
{
S16 ret;
/* ss015.301 Enclosed all timer activation functions in a union. */
* functions are enclosed in a union.
*/
#ifndef SS_MULTIPLE_PROCS
-#ifdef ANSI
static S16 STmrDeregHndlr
(
Ent ent, /* entity */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-/* ss017.301: Modified the prototype of STmrDeregHndlr for Non-ANSI
- * compilation.
- */
-static S16 STmrDeregHndlr(ent, inst, period, units, ssTmrActvFn)
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
/* ss015.301: Removed the timer handler prototypes guarded under SS_MT_TMR
* and handled mtFlag in existing timer handlers.
*/
#else /* SS_MULTIPLE_PROCS */
-#ifdef ANSI
static S16 STmrDeregHndlr
(
ProcId proc, /* processor */
S16 units, /* period units */
SsTmrActvFn ssTmrActvFn /* timer function */
)
-#else
-static S16 STmrDeregHndlr(proc, ent, inst, period, units, ssTmrActvFn)
-ProcId proc; /* processor */
-Ent ent; /* entity */
-Inst inst; /* instance */
-S16 period; /* period */
-S16 units; /* period units*/
-SsTmrActvFn ssTmrActvFn; /* timer function */
-#endif
#endif /* SS_MULTIPLE_PROCS */
{