Alternate method for C89 compliance