Fix lots of warnings of type:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 Jul 2005 06:19:08 +0000 (06:19 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 23 Jul 2005 06:19:08 +0000 (06:19 +0000)
ftypes.c:257: warning: passing argument 1 of 'logfunc' discards
                        qualifiers from pointer target type
by changing 'char*' -> 'const char*'

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15009 f5534014-38df-0310-8fa8-9805f1628bb7

epan/ftypes/ftypes.h

index ddb7515537dce3dbd8b44afc8f9bc1a00f22aec8..83a24a5ff4ca8a82fc00586c79336fb57dc2576b 100644 (file)
@@ -170,7 +170,7 @@ typedef struct _fvalue_t {
 
 typedef void (*FvalueNewFunc)(fvalue_t*);
 typedef void (*FvalueFreeFunc)(fvalue_t*);
-typedef void (*LogFunc)(char*,...);
+typedef void (*LogFunc)(const char*,...);
 
 typedef gboolean (*FvalueFromUnparsed)(fvalue_t*, char*, gboolean, LogFunc);
 typedef gboolean (*FvalueFromString)(fvalue_t*, char*, LogFunc);