-- The EP/ep function does not return anything; declare the function pointer
accordingly
-- Explicitly cast &stackvar to char* to avoid a warning
Reviewed-on: http://gerrit.openafs.org/598
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
savearea->state = 0;
getcontext(&savearea->ucontext);
#if defined(AFS_LINUX20_ENV)
- savearea->topstack = &stackvar;
+ savearea->topstack = (char *)&stackvar;
#else
savearea->topstack = savearea->ucontext.uc_stack.ss_sp;
#endif
#endif /*SGI*/
static jmp_buf jmp_tmp;
-static void *(*EP) (void);
+static void (*EP) (void);
static int rc;
static jmp_buf_type *jmpBuffer;