From ae5b40a65bfc48f599a94dbfedb87f88ba6e831e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 16 Jan 2014 18:40:13 +0000 Subject: [PATCH] * dtable.h (dtable::lock): Make static. --- winsup/cygwin/ChangeLog | 8 ++++++-- winsup/cygwin/dtable.h | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 764a3a01b..8cf605a80 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,4 +1,8 @@ -2014-01-08 Christopher Faylor +2014-01-16 Christopher Faylor + + * dtable.h (dtable::lock): Make static. + +2014-01-08 Christopher Faylor * exceptions.h (cygwin_exception::open_stackdumpfile): Move old function into class. @@ -8,7 +12,7 @@ cygwin_exception class. Use 'h' class member. (cygwin_exception::dumpstack): Close stack dump file handle if opened. -2014-01-04 Christopher Faylor +2014-01-04 Christopher Faylor * fhandler.h (cltype): New enum. (dev_console::console_attrs): Define struct name. diff --git a/winsup/cygwin/dtable.h b/winsup/cygwin/dtable.h index 53ffca3e2..1132a1aa9 100644 --- a/winsup/cygwin/dtable.h +++ b/winsup/cygwin/dtable.h @@ -85,8 +85,8 @@ public: void delete_archetype (fhandler_base *); void fixup_before_exec (DWORD win_proc_id); void fixup_before_fork (DWORD win_proc_id); - void lock () {lock_process::locker.acquire ();} - void unlock () {lock_process::locker.release ();} + static void lock () {lock_process::locker.acquire ();} + static void unlock () {lock_process::locker.release ();} }; fhandler_base *build_fh_dev (const device&, const char * = NULL);