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>2000-02-21 08:20:38 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-21 08:20:38 +0300
commit9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9 (patch)
treec7033544db3e6e96f568e08cc0b283c58cb24e94 /winsup/cygwin/sigproc.cc
parent17869f8bf7adce5296d844c51c14e89f45fc4054 (diff)
Respond to a multitude of g++ warnings.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r--winsup/cygwin/sigproc.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc
index 97a0f3a35..b4bd1ef1e 100644
--- a/winsup/cygwin/sigproc.cc
+++ b/winsup/cygwin/sigproc.cc
@@ -108,7 +108,7 @@ int NO_COPY pending_signals = 0; // TRUE if signals pending
/* Functions
*/
static int __stdcall checkstate (waitq *);
-static BOOL __inline get_proc_lock (DWORD, DWORD);
+static __inline__ BOOL get_proc_lock (DWORD, DWORD);
static HANDLE __stdcall getsem (pinfo *, const char *, int, int);
static void __stdcall remove_child (int);
static void __stdcall remove_zombie (int);
@@ -992,7 +992,7 @@ getsem (pinfo *p, const char *str, int init, int max)
* Attempt to handle case where process is exiting as we try to grab
* the mutex.
*/
-static BOOL __inline
+static __inline__ BOOL
get_proc_lock (DWORD what, DWORD val)
{
Static int lastwhat = -1;
@@ -1123,7 +1123,7 @@ stopped_or_terminated (waitq *parent_w, pinfo *child)
* has been handled, as per POSIX.
*/
static DWORD WINAPI
-wait_sig (VOID *arg)
+wait_sig (VOID *)
{
/* Initialization */
(void) SetThreadPriority (hwait_sig, WAIT_SIG_PRIORITY);
@@ -1292,7 +1292,7 @@ wait_sig (VOID *arg)
/* Wait for subprocesses to terminate. Executes in a separate thread. */
static DWORD WINAPI
-wait_subproc (VOID *arg)
+wait_subproc (VOID *)
{
sip_printf ("starting");
int errloop = 0;