Branch: Tag:

2000-12-04

2000-12-04 19:38:26 by Martin Stjernholm <mast@lysator.liu.se>

Strengthened the type for low_error to avoid warnings.

Rev: src/error.c:1.66
Rev: src/pike_error.h:1.3

5:   \*/      /* -  * $Id: pike_error.h,v 1.2 2000/12/01 09:07:29 hubbe Exp $ +  * $Id: pike_error.h,v 1.3 2000/12/04 19:38:26 mast Exp $    */   #ifndef ERROR_H   #define ERROR_H
173:   PMOD_EXPORT JMP_BUF *init_recovery(JMP_BUF *r DEBUG_LINE_ARGS);   PMOD_EXPORT DECLSPEC(noreturn) void pike_throw(void) ATTRIBUTE((noreturn));   PMOD_EXPORT void push_error(char *description); - PMOD_EXPORT DECLSPEC(noreturn) void low_error(char *buf) ATTRIBUTE((noreturn)); + PMOD_EXPORT DECLSPEC(noreturn) void low_error(const char *buf) ATTRIBUTE((noreturn));   void va_error(const char *fmt, va_list args) ATTRIBUTE((noreturn));   PMOD_EXPORT DECLSPEC(noreturn) void new_error(const char *name, const char *text, struct svalue *oldsp,    INT32 args, const char *file, int line) ATTRIBUTE((noreturn));