* smallprint.c (console_printf): New function.

* dcrt0.cc (dll_crt0_1): Use console_printf for debugging output.
* debug.cc (debug_mark_closed): New function.
(close_handle): Use debug_mark_closed.
* debug.h: Declare new functions.
* dtable.cc (dtable::build_fhandler): Remove unneeded extern.
* spawn.cc: Cosmetic changes.
* winsup.h: Define NO_COPY for C files, too.  Declare a global.
This commit is contained in:
Christopher Faylor
2001-08-22 17:50:22 +00:00
parent 1fdc8df95d
commit 0a047e8f32
8 changed files with 81 additions and 36 deletions

View File

@@ -232,7 +232,6 @@ dtable::build_fhandler (int fd, const char *name, HANDLE handle)
{
int unit;
DWORD devn;
extern bool wsock_started;
if ((devn = get_device_number (name, unit)) == FH_BAD)
{