Skip to content

Commit 0901ded

Browse files
committedFeb 27, 2024
8326433: Make file-local functions static in src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c
Reviewed-by: cjplummer, sspitsyn
1 parent d22d890 commit 0901ded

File tree

1 file changed

+2
-2
lines changed
  • src/jdk.jdwp.agent/unix/native/libjdwp

1 file changed

+2
-2
lines changed
 

‎src/jdk.jdwp.agent/unix/native/libjdwp/exec_md.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static char *skipNonWhitespace(char *p) {
6262
// input/output/error file descriptors will not be closed
6363
// by this function. This function returns 0 on failure
6464
// and 1 on success.
65-
int
65+
static int
6666
closeDescriptors(void)
6767
{
6868
DIR *dp;
@@ -115,7 +115,7 @@ closeDescriptors(void)
115115
// Does necessary housekeeping of a forked child process
116116
// (like closing copied file descriptors) before
117117
// execing the child process. This function never returns.
118-
void
118+
static void
119119
forkedChildProcess(const char *file, char *const argv[])
120120
{
121121
/* Close all file descriptors that have been copied over

0 commit comments

Comments
 (0)
Please sign in to comment.