Wireshark-commits: [Wireshark-commits] rev 22980: /trunk/ /trunk/epan/dissectors/: packet-dcp.c /tr
Date: Wed, 26 Sep 2007 03:06:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=22980

User: sfisher
Date: 2007/09/26 03:06 AM

Log:
 The dissector packet-dcp.c now fails to compile on MacOS X (gcc 4.0.1/Apple).  Change G_INLINE_FUNC back to inline per GLib documentation (also remove recommendation in developer's guide to not use inline):
 
 http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Macros.html#id2571572
 
 G_INLINE_FUNC
 
 #define             G_INLINE_FUNC
 This macro is used to export function prototypes so they can be linked with an external version when no inlining is performed. The file which implements the functions should define G_IMPLEMENTS_INLINES before including the headers which contain G_INLINE_FUNC declarations. Since inlining is very compiler-dependent using these macros correctly is very difficult. Their use is strongly discouraged.
 
 This macro is often mistaken for a replacement for the inline keyword; inline is already declared in a portable manner in the glib headers and can be used normally.

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +1 -1      packet-dcp.c    Modified

Directory: /trunk/doc/
  Changes    Path                Action
  +0 -7      README.developer    Modified