diff options
author | Christopher Faylor <me@cgf.cx> | 2001-03-03 03:56:34 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-03-03 03:56:34 +0000 |
commit | 0312ede431278fb8a0aa6db9ae201d928d3b0055 (patch) | |
tree | e81f158ae800155fdd709838ad4ed327289ebb35 /winsup/cygwin/debug.cc | |
parent | 19ca46d5fbe807cd81afe2dda33bbd669db91e09 (diff) | |
download | newlib-0312ede431278fb8a0aa6db9ae201d928d3b0055.zip newlib-0312ede431278fb8a0aa6db9ae201d928d3b0055.tar.gz newlib-0312ede431278fb8a0aa6db9ae201d928d3b0055.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index ebe207c..bd58e47 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -1,6 +1,6 @@ /* debug.cc - Copyright 1998, 1999, 2000 Cygnus Solutions. + Copyright 1998, 1999, 2000, 2001 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -31,7 +31,7 @@ typedef struct } thread_info; static NO_COPY thread_info threads[32] = {{0, NULL}}; // increase as necessary -#define NTHREADS (sizeof(threads) / sizeof(threads[0])) +#define NTHREADS (sizeof (threads) / sizeof (threads[0])) void threadname_init () @@ -55,7 +55,7 @@ regthread (const char *name, DWORD tid) } int __stdcall -iscygthread() +iscygthread () { DWORD tid = GetCurrentThreadId (); if (tid != mainthread.id) @@ -256,7 +256,7 @@ add_handle (const char *func, int ln, HANDLE h, const char *name) goto out; /* Already did this once */ } - if ((hl = newh()) == NULL) + if ((hl = newh ()) == NULL) { unlock_debug (); system_printf ("couldn't allocate memory for %s(%d): %s(%p)", |