[haiku-commits] Re: r41888 - haiku/trunk/headers/private/device

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 04 Jun 2011 01:33:20 +0200

> >  #include <module.h>
> > +#include <stdlib.h>
> 
> stdlib.h is a C header, and is less specific than the Haiku headers, 
> and should therefore come in a group before this one.

Indeed.

> >  // transmitted, not the whole structure.
> > -typedef struct _variable_joystick {
> > +typedef struct variable_joystick {
> 
> Since this is (at least now) a C++ header -- what is the use of the 
> typedef?

I didn't actually want it to stay that way. I've made it a valid C 
header again in r41899.

Regards
Michael

Other related posts: