Move declaration of the return list to the top of the function for C90