Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-03-29 15:02:58 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-03-29 15:02:58 +0400
commitd7d8e7ce075905b4042643347364e4f27962bfbf (patch)
treef82dbdd75e61d4b4b41f059b4962161d75ae0f94 /winsup/utils/loadlib.h
parent91d3057085a04ea2342dc8fc4fb92a3676fd7566 (diff)
* cygcheck.cc (handle_unique_object_name): Avoid a compiler warning.
(dump_sysinfo): Ditto. * loadlib.h (_load_sys_library): Mark as used, to avoid a compiler warning. * path.cc (oopt): Gurad with !FSTAB_ONLY to avoid a compiler warning. (read_flags): Ditto.
Diffstat (limited to 'winsup/utils/loadlib.h')
-rw-r--r--winsup/utils/loadlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/utils/loadlib.h b/winsup/utils/loadlib.h
index 405b4b28d..7f3a9cc2b 100644
--- a/winsup/utils/loadlib.h
+++ b/winsup/utils/loadlib.h
@@ -1,6 +1,6 @@
/* loadlib.h
- Copyright 2010 Red Hat, Inc.
+ Copyright 2010, 2011 Red Hat, Inc.
This file is part of Cygwin.
@@ -18,6 +18,8 @@
full path. This doesn't work for loadling cygwin1.dll. For this case,
instead of prepending the path, make sure that the CWD is removed from
the DLL search path, if possible (XP SP1++, Vista++). */
+static HMODULE _load_sys_library (const wchar_t *dll) __attribute__ ((used));
+
static HMODULE
_load_sys_library (const wchar_t *dll)
{