Made C99 compatible.