Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan column-utils.h packet.h proto.h tvbuff.

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 31 Oct 2001 01:47:28 -0600 (CST)
guy         2001/10/31 01:47:28 CST

  Modified files:
    epan                 column-utils.h packet.h proto.h tvbuff.h 
  Log:
  Put "extern" in front of a pile of function declarations.
  
  It makes no difference if they really are function declarations;
  however, in plugins, when building on OSes that don't let
  dynamically-loaded modules access functions in the main program (e.g.,
  Windows), when compiling a plugin, <plugin_api.h> defines the names of
  those functions as (*pointer_name), so they turn into declarations of
  pointer variables pointing to the functions in question, and, on
  platforms with a def/ref model in the linker, if a plugin has more than
  one source file that gets linked into the plugin, the linker may get
  upset at two definitions of the same variable.
  
  Revision  Changes    Path
  1.3       +15 -17    ethereal/epan/column-utils.h
  1.37      +47 -36    ethereal/epan/packet.h
  1.19      +99 -100   ethereal/epan/proto.h
  1.17      +62 -54    ethereal/epan/tvbuff.h