GCC 7.3.1 compiler error in SEGGER_RTT_Syscalls_GCC.c

A makefile project using SDK 15.0.0 that compiled under GCC 7.2.1 no longer compiles under 7.3.1 with these errors:

../../../../../../external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c:94:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_PARAMS'
_ssize_t _write_r _PARAMS ((struct _reent *, int, const void *, size_t));
^~~~~~~
../../../../../../external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c:129:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_PARAMS'
_ssize_t _write_r _PARAMS((struct _reent *r, int file, const void *ptr, size_t len)) {
^~~~~~~