From 99c3c059961e9abdf76b92e9ab22fe26b929ec20 Mon Sep 17 00:00:00 2001 From: hunt Date: Mon, 19 Mar 2007 03:00:56 +0000 Subject: 2007-03-18 Martin Hunt * staprun.h (err): Define. * symbols.c (get_sections): More overflow checking. --- runtime/staprun/staprun.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/staprun/staprun.h') diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h index 7a3fd00c..57a78809 100644 --- a/runtime/staprun/staprun.h +++ b/runtime/staprun/staprun.h @@ -40,6 +40,8 @@ #define dbug(args...) ; #endif /* DEBUG */ +#define err(args...) {fprintf(stderr,"%s:%d ",__FUNCTION__, __LINE__); fprintf(stderr,args); } + /* we define this so we are compatible with old transport, but we don't have to use it. */ #define STP_OLD_TRANSPORT #include "../transport/transport_msgs.h" -- cgit