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:
authorChristopher Faylor <me@cgf.cx>2005-05-02 07:50:11 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-02 07:50:11 +0400
commit05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch)
treee7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/dlfcn.cc
parentb9b1b38358983f564e48ced1a9a599698e1be36f (diff)
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/dlfcn.cc')
-rw-r--r--winsup/cygwin/dlfcn.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/winsup/cygwin/dlfcn.cc b/winsup/cygwin/dlfcn.cc
index 7ca191ba3..bc0d70114 100644
--- a/winsup/cygwin/dlfcn.cc
+++ b/winsup/cygwin/dlfcn.cc
@@ -120,17 +120,17 @@ dlsym (void *handle, const char *name)
HMODULE *modules;
DWORD needed, i;
if (!EnumProcessModules (cur_proc, NULL, 0, &needed))
- {
- dlsym_fail:
- set_dl_error ("dlsym");
- return NULL;
- }
+ {
+ dlsym_fail:
+ set_dl_error ("dlsym");
+ return NULL;
+ }
modules = (HMODULE*) alloca (needed);
if (!EnumProcessModules (cur_proc, modules, needed, &needed))
- goto dlsym_fail;
+ goto dlsym_fail;
for (i = 0; i < needed / sizeof (HMODULE); i++)
- if ((ret = (void *) GetProcAddress (modules[i], name)))
- break;
+ if ((ret = (void *) GetProcAddress (modules[i], name)))
+ break;
}
else
ret = (void *) GetProcAddress ((HMODULE)handle, name);