A few days ago I thought the same, but it turns out that the C99 standard requires newlines at the end of the files.