It takes hours to restructure big files of unreadable c-code. Much faster and less of a pain is to read the man pages about the indent program, write a .indent.pro file and run indent to do the task.