expand __BEGIN_DECLS and __END_DECLS too
cleanup headers of rtems