change C99 syntax not supported by C++