#ifndef __P # if defined(__STDC__) || defined(__GNUC__) # define __P(x) x # else # define __P(x) () # endif #endif /*------------------------------------------------------------\ | | | Tool : RDS | | | | File : rdserror.c | | | | Authors : Jacomme Ludovic | | | | Date : 27.06.95 | | | \------------------------------------------------------------*/ # ifndef RDS_ERROR_H # define RDS_ERROR_H /*------------------------------------------------------------\ | | | Constants | | | \------------------------------------------------------------*/ # define RDS_ALLOC_ERROR 0 /*------------------------------------------------------------\ | | | Types | | | \------------------------------------------------------------*/ /*------------------------------------------------------------\ | | | Variables | | | \------------------------------------------------------------*/ /*------------------------------------------------------------\ | | | Macros | | | \------------------------------------------------------------*/ # define rdserror( E, V ) (rds_error( (E), (V), basename(__FILE__), __LINE__ )) /*------------------------------------------------------------\ | | | Functions | | | \------------------------------------------------------------*/ extern void rds_error __P((char Error, char *Text, char *File, long Line)); # endif