X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fcommon.h;h=7888a7aa9f2083d8f2df5bde5b77c1aea898c87b;hb=243bdab4e7acc8516d9b1c138f45dc1195f97767;hp=0ff9c7f188e2a111929b74f317b0cc81a14ec325;hpb=f035491c949cb86d92a93fc3d9d033538704256b;p=tpg%2Facess2.git diff --git a/Kernel/include/common.h b/Kernel/include/common.h index 0ff9c7f1..7888a7aa 100644 --- a/Kernel/include/common.h +++ b/Kernel/include/common.h @@ -103,12 +103,13 @@ extern void Debug_HexDump(char *Header, void *Data, Uint Length); # define LOG(_fmt...) Debug_Log((char*)__func__, _fmt) # define LEAVE(_t...) Debug_Leave((char*)__func__, _t) # define LEAVE_RET(_t,_v...) do{LEAVE(_t,_v);return _v;}while(0) -//# define LEAVE_RET(_t) do{LEAVE(_t);return;} +# define LEAVE_RET0() do{LEAVE('-');return;}while(0) #else # define ENTER(...) # define LOG(...) # define LEAVE(...) # define LEAVE_RET(_t,_v...) return (_v) +# define LEAVE_RET0() return #endif /** * \}