C89-compatible code
 from mohamed/libitl2@3361889f78ed63906c2e4448040ef54ca9e18414
 Changed the code to compile with zero errors/warnings when compiled using "-ansi
 -pedantic"