Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-giop.h prefs.h

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:26 -0600 (CST)
guy         2001/10/31 01:47:26 CST

  Modified files:
    .                    packet-giop.h prefs.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.7       +53 -39    ethereal/packet-giop.h
  1.33      +21 -20    ethereal/prefs.h