From ddba729d0e8aef428e7221014632b9cb29d8f9c1 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sat, 19 Apr 2003 20:32:47 +0000 Subject: [PATCH] fix deprecation warning with gcc3.2 --- lib/libinternal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libinternal.h b/lib/libinternal.h index 224d5e1..9d669d7 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,__FUNCTION__ ": " format, ## 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