< prev index next >

src/java.base/unix/native/libjava/childproc.h

Print this page
rev 57430 : 8235903: GCC default -fno-common exposes "multiple definition" link errors
Summary: Fixed C standard tentative definitions with extern keyword
Reviewed-by: alanb

@@ -124,11 +124,11 @@
 
 /**
  * The cached and split version of the JDK's effective PATH.
  * (We don't support putenv("PATH=...") in native code)
  */
-const char * const *parentPathv;
+extern const char * const *parentPathv;
 
 ssize_t restartableWrite(int fd, const void *buf, size_t count);
 int restartableDup2(int fd_from, int fd_to);
 int closeSafely(int fd);
 int isAsciiDigit(char c);
< prev index next >