* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
* fhandler_base.cc (fhandler_base::cleanup): Define. * fhandler_tty.cc (fhandler_pty_slave::cleanup): Call fhandler_base::cleanup. (fhandler_pty_master::cleanup): Ditto.
This commit is contained in:
@@ -315,7 +315,7 @@ class fhandler_base
|
||||
|
||||
int close_with_arch ();
|
||||
virtual int close ();
|
||||
virtual void cleanup () { return; }
|
||||
virtual void cleanup ();
|
||||
int _archetype_usecount (const char *fn, int ln, int n)
|
||||
{
|
||||
if (!archetype)
|
||||
|
Reference in New Issue
Block a user