From: Frank Mori Hess Date: Fri, 25 Apr 2003 01:43:52 +0000 (+0000) Subject: added some white space to fix preprocessor weirdness, ## was causing X-Git-Tag: r0_7_21~219 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e31f607b2e10be1744c44f7affa13156b7e01394;p=comedilib.git added some white space to fix preprocessor weirdness, ## was causing __FUNCTION__ to disappear instead of the comma? --- 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))