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>2001-04-29 06:54:36 +0400
committerChristopher Faylor <me@cgf.cx>2001-04-29 06:54:36 +0400
commitf5c1d231038dd2d9ed5327811fea33818f0db14f (patch)
tree44cdbc192154f400f415d3f5de29b3e4b81593b9 /winsup/cygwin/pinfo.cc
parent64c41c76ff573a35bc035c7ddffeb360cb232349 (diff)
minor formatting changes.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 85214407d..e19371299 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -343,7 +343,7 @@ winpids::enumNT (bool winpid)
break;
if (res == STATUS_INFO_LENGTH_MISMATCH)
- procs = (SYSTEM_PROCESSES *)realloc (procs, szprocs += 200 * sizeof (*procs));
+ procs = (SYSTEM_PROCESSES *) realloc (procs, szprocs += 200 * sizeof (*procs));
else
{
system_printf ("error %p reading system process information", res);
@@ -379,7 +379,7 @@ winpids::enum9x (bool winpid)
PROCESSENTRY32 proc;
proc.dwSize = sizeof (proc);
- if (myProcess32First(h, &proc))
+ if (myProcess32First (h, &proc))
do
{
if (proc.th32ProcessID)
@@ -406,13 +406,13 @@ winpids::enum_init (bool winpid)
enum_processes = &winpids::enumNT;
else
{
- h = GetModuleHandle("kernel32.dll");
+ h = GetModuleHandle ("kernel32.dll");
myCreateToolhelp32Snapshot = (CREATESNAPSHOT)
GetProcAddress(h, "CreateToolhelp32Snapshot");
myProcess32First = (PROCESSWALK)
- GetProcAddress(h, "Process32First");
+ GetProcAddress (h, "Process32First");
myProcess32Next = (PROCESSWALK)
- GetProcAddress(h, "Process32Next");
+ GetProcAddress (h, "Process32Next");
if (!myCreateToolhelp32Snapshot || !myProcess32First || !myProcess32Next)
{
system_printf ("Couldn't find toolhelp processes, %E");