pre-c99 compatibility