From dc4886feaedd659d71377edd2d516044cd959fc6 Mon Sep 17 00:00:00 2001 From: "Keith W. Campbell" Date: Tue, 19 Mar 2024 13:49:02 -0400 Subject: [PATCH] Add missing declaration of _CPUTIME() OpenXL complains: ISO C99 and later do not support implicit function declarations Signed-off-by: Keith W. Campbell --- thread/common/thrprof.c | 1 + 1 file changed, 1 insertion(+) diff --git a/thread/common/thrprof.c b/thread/common/thrprof.c index ecedb8c80f6..023085ff616 100644 --- a/thread/common/thrprof.c +++ b/thread/common/thrprof.c @@ -349,6 +349,7 @@ omrthread_get_self_cpu_time(omrthread_t self) #if defined(J9ZOS390) { + extern void _CPUTIME(uint64_t *); /* defined in thrcputime.s */ uint64_t time = 0; /* _CPUTIME returns time in TOD format (see z/Architecture Principles of Operation) */