mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8326433: Make file-local functions static in src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
parent
d22d890cac
commit
0901dedefe
@ -62,7 +62,7 @@ static char *skipNonWhitespace(char *p) {
|
||||
// input/output/error file descriptors will not be closed
|
||||
// by this function. This function returns 0 on failure
|
||||
// and 1 on success.
|
||||
int
|
||||
static int
|
||||
closeDescriptors(void)
|
||||
{
|
||||
DIR *dp;
|
||||
@ -115,7 +115,7 @@ closeDescriptors(void)
|
||||
// Does necessary housekeeping of a forked child process
|
||||
// (like closing copied file descriptors) before
|
||||
// execing the child process. This function never returns.
|
||||
void
|
||||
static void
|
||||
forkedChildProcess(const char *file, char *const argv[])
|
||||
{
|
||||
/* Close all file descriptors that have been copied over
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user