< prev index next >

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

Print this page
rev 57914 : 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10
Summary: Fixed libjava/childproc.o link errors caused by GCC10 default -fno-common
Reviewed-by: alanb, stuefe

*** 1,7 **** /* ! * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 124,134 **** /** * The cached and split version of the JDK's effective PATH. * (We don't support putenv("PATH=...") in native code) */ ! 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); --- 124,134 ---- /** * The cached and split version of the JDK's effective PATH. * (We don't support putenv("PATH=...") in native code) */ ! 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 >