Skip to content

Commit d76dfdc

Browse files
committed
opal_copy_functions_heterogeneous: fix function declaration
Add missing "void" in declaration. I'm amazed that this survived so long. Signed-off-by: Jeff Squyres <[email protected]>
1 parent 480d744 commit d76dfdc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/datatype/opal_copy_functions_heterogeneous.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* and Technology (RIST). All rights reserved.
99
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
1010
* Copyright (c) 2021 IBM Corporation. All rights reserved.
11+
* Copyright (c) 2024 Jeffrey M. Squyres. All rights reserved.
1112
* $COPYRIGHT$
1213
*
1314
* Additional copyrights may follow
@@ -492,7 +493,7 @@ f128_to_f80(unsigned char *f80_buf_to, const unsigned char *f128_buf_from, ssize
492493
*/
493494
static inline
494495
size_t
495-
alignment_of_long_double() {
496+
alignment_of_long_double(void) {
496497
static size_t val = 0;
497498

498499
if (val == 0) {

0 commit comments

Comments
 (0)