From 05726ddd86c1421add510d5e8395cf7e3ac378f3 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 2 May 2005 03:50:11 +0000 Subject: white space and minor comment cleanup. --- winsup/cygwin/dlfcn.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'winsup/cygwin/dlfcn.cc') 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); -- cgit v1.2.3