Ignore:
Timestamp:
Jul 13, 2017, 9:01:05 AM (22 months ago)
Author:
Juanma
Message:

Initial release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • squid-ssl/trunk/fuentes/libltdl/loaders/loadlibrary.c

    r5495 r5496  
    11/* loader-loadlibrary.c --  dynamic linking for Win32
    22
    3    Copyright (C) 1998-2000, 2004-2008, 2010-2015 Free Software
    4    Foundation, Inc.
     3   Copyright (C) 1998, 1999, 2000, 2004, 2005, 2006,
     4                 2007, 2008, 2010 Free Software Foundation, Inc.
    55   Written by Thomas Tanner, 1998
    66
     
    3333#include "lt_dlloader.h"
    3434
    35 #if defined __CYGWIN__
     35#if defined(__CYGWIN__)
    3636# include <sys/cygwin.h>
    3737#endif
     
    121121   longer needed by the application.  */
    122122static int
    123 vl_exit (lt_user_data loader_data LT__UNUSED)
     123vl_exit (lt_user_data LT__UNUSED loader_data)
    124124{
    125125  vtable = NULL;
     
    132132   module for processing with this loader's other vtable functions.  */
    133133static lt_module
    134 vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
    135          lt_dladvise advise LT__UNUSED)
     134vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
     135         lt_dladvise LT__UNUSED advise)
    136136{
    137137  lt_module     module     = 0;
     
    164164        }
    165165      len = 0;
    166 #elif defined __CYGWIN__
     166#elif defined(__CYGWIN__)
    167167      cygwin_conv_to_full_win32_path (filename, wpath);
    168168      len = 0;
     
    174174      if (!ext)
    175175        {
    176           /* Append a '.' to stop Windows from adding an
    177              implicit '.dll' extension. */
     176          /* Append a `.' to stop Windows from adding an
     177             implicit `.dll' extension. */
    178178          if (!len)
    179179            len = strlen (wpath);
     
    246246   should be unloaded.  */
    247247static int
    248 vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
     248vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
    249249{
    250250  int errors = 0;
     
    263263   a symbol loaded from a particular module.  */
    264264static void *
    265 vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module, const char *name)
     265vm_sym (lt_user_data LT__UNUSED loader_data, lt_module module, const char *name)
    266266{
    267267  void *address = (void *) GetProcAddress ((HMODULE) module, name);
     
    307307}
    308308
    309 /* A function called through the getthreaderrormode variable that checks
     309/* A function called through the getthreaderrormode variable which checks
    310310   if the system supports GetThreadErrorMode (or GetErrorMode) and arranges
    311311   for it or a fallback implementation to be called directly in the future.
     
    340340}
    341341
    342 /* A function called through the setthreaderrormode variable that checks
     342/* A function called through the setthreaderrormode variable which checks
    343343   if the system supports SetThreadErrorMode and arranges for it or a
    344344   fallback implementation to be called directly in the future.
Note: See TracChangeset for help on using the changeset viewer.