Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open XL implicit function declaration fixes #19906

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion runtime/jcl/common/attach.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Java_openj9_internal_tools_attach_target_IPC_isUsingDefaultUid(JNIEnv *env, jcla
/* all offsets are byte offsets */
U_32* PSATOLD_ADDR = (U_32 *)(UDATA) 0x21c; /* z/OS Pointer to current TCB or zero if in SRB mode. Field fixed by architecture. */
U_32 tcbBase; /* base of the z/OS Task Control Block */
const TCBSENV_OFFSET = 0x154; /* offset of the TCBSENV field in the TCB. This field contains a pointer to the ACEE. */
const U_32 TCBSENV_OFFSET = 0x154; /* offset of the TCBSENV field in the TCB. This field contains a pointer to the ACEE. */
U_32 aceeBaseAddr; /* Address of a control block field which contains a pointer to the base of the RACF Accessor Environment Element (ACEE) */
U_32 aceeBase; /* absolute address of the start of the ACEE */
U_32 aceeflg3Addr; /* address of the "Miscellaneous flags" byte of the ACEE */
Expand Down
4 changes: 2 additions & 2 deletions runtime/port/zos390/protect_helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include <sys/mman.h>
#include <errno.h>

extern intptr_t _MPROT(uintptr_t address, uintptr_t length); /* j9mprotect.s */
extern intptr_t _MUNPROT(uintptr_t address, uintptr_t length); /* j9munprotect.s */

/**
* @internal @file
Expand All @@ -40,8 +42,6 @@ intptr_t
protect_memory(struct J9PortLibrary *portLibrary, void *address, uintptr_t length, uintptr_t flags)
{
OMRPORT_ACCESS_FROM_J9PORT(portLibrary);
uintptr_t index;
intptr_t unixFlags = 0;
intptr_t rc = -1;

if ((flags & OMRPORT_PAGE_PROTECT_WRITE) == 0) {
Expand Down
1 change: 1 addition & 0 deletions runtime/rasdump/dmpagent.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#ifdef J9ZOS390
#include <spawn.h>
#include <errno.h>
#include <sys/wait.h>
#include "atoe.h"
#endif
#ifdef AIXPPC
Expand Down
1 change: 1 addition & 0 deletions runtime/rasdump/dmpsup.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ char* dumpDirectoryPrefix = NULL;
#if defined(J9ZOS390)
#if defined(J9VM_ENV_DATA64)
#include <__le_api.h>
#include <ctest.h>
r30shah marked this conversation as resolved.
Show resolved Hide resolved
#else
#include <leawi.h>
#include <ceeedcct.h>
Expand Down
2 changes: 0 additions & 2 deletions runtime/rasdump/javadump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include <malloc.h>
#elif defined(LINUX) || defined(AIXPPC)
#include <alloca.h>
#elif defined(J9ZOS390)
#include <stdlib.h>
#endif
#if defined(J9ZTPF)
#include <sys/mman.h>
Expand Down
1 change: 1 addition & 0 deletions runtime/redirector/redirector.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ typedef enum gc_policy{
#endif /* defined(AIXPPC) */

#if defined(J9ZOS390)
#include <dlfcn.h>
#include <dll.h>
#include "atoe.h"
#include <stdlib.h>
Expand Down