summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2014-01-16 18:40:13 +0000
committerChristopher Faylor <me@cgf.cx>2014-01-16 18:40:13 +0000
commitae5b40a65bfc48f599a94dbfedb87f88ba6e831e (patch)
tree91374f31696211c89bbc3997aa6657e67e0f3a20
parent9a0786ea680c7137fe302d5ae1844899efd02e3c (diff)
downloadcygnal-ae5b40a65bfc48f599a94dbfedb87f88ba6e831e.tar.gz
cygnal-ae5b40a65bfc48f599a94dbfedb87f88ba6e831e.tar.bz2
cygnal-ae5b40a65bfc48f599a94dbfedb87f88ba6e831e.zip
* dtable.h (dtable::lock): Make static.
-rw-r--r--winsup/cygwin/ChangeLog8
-rw-r--r--winsup/cygwin/dtable.h4
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 <me.cygwin2013@cgf.cx>
+2014-01-16 Christopher Faylor <me.cygwin2014@cgf.cx>
+
+ * dtable.h (dtable::lock): Make static.
+
+2014-01-08 Christopher Faylor <me.cygwin2014@cgf.cx>
* 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 <me.cygwin2013@cgf.cx>
+2014-01-04 Christopher Faylor <me.cygwin2014@cgf.cx>
* 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);