Hi,
I usually find it quite useful if source files are in a canonical format which makes it easier for merges when more people get involved.
Luckily, emacs can do this automatically with a before-safe-hook.
So this is a suggestion and I understand if it is not preferred. But here is a patch-set for that suggestion:
* 0001 Adding a .dir-locals.el that sets gnu coding style and adds the whitespace hook
* 0002 Remove trailing whitespace in *.[hc] (other than that: no code changes)
There is of course the slight chance that this will conflict with other patches in the queue right now; but getting things settled as early as possible in the project-cycle is of course preferable: things are easier to change now then later.
Cheers,
Henner.