How can I remove extra spaces from my code using astyle? For example I want to convert the following code:
void foo (     int  a  ,  int   c )
{
d   = a+      c;
}
to this:
void foo (int a, int c)
{
    d = a + c;
}
But astyle is currently converting it to this:
void foo (int  a  ,  int   c)
{
    d   = a +      c;
}