diff options
author | Christopher Faylor <me@cgf.cx> | 2000-02-21 05:20:38 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-02-21 05:20:38 +0000 |
commit | 9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9 (patch) | |
tree | c7033544db3e6e96f568e08cc0b283c58cb24e94 /winsup/cygwin/sigproc.cc | |
parent | 17869f8bf7adce5296d844c51c14e89f45fc4054 (diff) | |
download | cygnal-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.tar.gz cygnal-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.tar.bz2 cygnal-9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9.zip |
Respond to a multitude of g++ warnings.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 8 |
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; |