forkables: inline dll_list::forkables_supported

And LONG fits better for shared_info member forkable_hardlink_support.
This commit is contained in:
Michael Haubenwallner
2017-03-02 17:26:53 +01:00
committed by Corinna Vinschen
parent 135577f708
commit 22d68bada3
6 changed files with 10 additions and 12 deletions

View File

@ -10,7 +10,6 @@ details. */
#include "cygerrno.h"
#include "perprocess.h"
#include "sync.h"
#include "dll_init.h"
#include "environ.h"
#include "security.h"
#include "path.h"
@ -19,6 +18,7 @@ details. */
#include "cygheap.h"
#include "pinfo.h"
#include "shared_info.h"
#include "dll_init.h"
#include "child_info.h"
#include "cygtls.h"
#include "exception.h"
@ -501,12 +501,6 @@ dll::create_forkable ()
return false;
}
bool
dll_list::forkables_supported ()
{
return cygwin_shared->forkable_hardlink_support >= 0;
}
/* return the number of characters necessary to store one forkable name */
size_t
dll_list::forkable_ntnamesize (dll_type type, PCWCHAR fullntname, PCWCHAR modname)