f62412f235
* cygheap.h (cygheap_user): Remove unneeded class names from function declaration. * fhandler.h (fhandler_base): Ditto. (fhandler_dev_floppy): Ditto. (fhandler_console): Ditto. * wininfo.h (wininfo): Ditto. * exceptions.cc (sigpacket::process): Avoid compiler errors about gotos and initialization. * fhandler_fifo.cc (fhandler_fifo::open): Ditto. * fhandler_floppy.cc (fhandler_dev_floppy::ioctl): Ditto. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Ditto. * mmap.cc (mmap64): Ditto. * pipe.cc (fhandler_pipe::open): Ditto. * spawn.cc (spawn_guts): Ditto. * sec_helper.cc: Fix some comments. (get_null_sd): Move file-scope static to only function where it is used.
26 lines
545 B
C++
26 lines
545 B
C++
/* wininfo.h: main Cygwin header file.
|
|
|
|
Copyright 2004 Red Hat, Inc.
|
|
|
|
This file is part of Cygwin.
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
details. */
|
|
|
|
class muto;
|
|
class wininfo
|
|
{
|
|
HWND hwnd;
|
|
static muto _lock;
|
|
public:
|
|
operator HWND ();
|
|
int __stdcall process (HWND, UINT, WPARAM, LPARAM)
|
|
__attribute__ ((regparm (3)));
|
|
void lock ();
|
|
void release ();
|
|
DWORD WINAPI winthread () __attribute__ ((regparm (1)));
|
|
};
|
|
|
|
extern wininfo winmsg;
|