2014-08-21
2014-08-21 18:11:55 by Martin Nilsson <nilsson@opera.com>
-
3b54e5516f34132abcab47c2ce48c0149ffca1ee
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: 8.0
Added void to zero argument functions.
1370:
/* Intended to be called from machine code before inlined function
* calls (primarily the CALL_BUILTIN opcodes), to ensure thread
* switching. */
- void call_check_threads_etc()
+ void call_check_threads_etc(void)
{
FAST_CHECK_THREADS_ON_CALL();
}
1379: Inside #if defined(OPCODE_INLINE_BRANCH) || defined(INS_F_JUMP) || \
defined(INS_F_JUMP_WITH_ARG) || defined(INS_F_JUMP_WITH_TWO_ARGS)
/* Intended to be called from machine code on backward branch jumps,
* to ensure thread switching. */
- void branch_check_threads_etc()
+ void branch_check_threads_etc(void)
{
FAST_CHECK_THREADS_ON_BRANCH();
}