From e31f607b2e10be1744c44f7affa13156b7e01394 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 25 Apr 2003 01:43:52 +0000 Subject: [PATCH] added some white space to fix preprocessor weirdness, ## was causing __FUNCTION__ to disappear instead of the comma? --- lib/libinternal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libinternal.h b/lib/libinternal.h index 9d669d7..9f99f23 100644 --- a/lib/libinternal.h +++ b/lib/libinternal.h @@ -53,7 +53,7 @@ #define debug_ptr(a) if(!(a))fprintf(stderr," ** NULL pointer: " __FILE__ ", line %d\n",__LINE__); #define debug_int(a) if((a)<0)fprintf(stderr," ** error: " __FILE__ ", line %d\n",__LINE__); -#define COMEDILIB_DEBUG(level,format,args...) do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__, ## args);}while(0) +#define COMEDILIB_DEBUG(level,format,args...) do{if(__comedi_loglevel>=(level))fprintf(stderr,"%s: " format, __FUNCTION__ , ##args);}while(0) #define COMEDI_VERSION_CODE(a,b,c) (((a)<<16) | ((b)<<8) | (c)) -- 2.26.2