[LAD] [ot] programming typedefs...

Jens M Andreasen jens.andreasen at comhem.se
Fri Jul 11 05:46:34 UTC 2008


On Thu, 2008-07-10 at 19:07 +0200, Lars Luthman wrote:
> Either
> 
>  typedef struct foo foo_t;
> 
>  struct foo {
>    foo_t* pointer;
>  };
> 
> or
> 
>  struct foo {
>    struct foo* pointer;
>  };

.. or both:

typedef struct foo {
   struct foo* pointer;
 } foo_t;




More information about the Linux-audio-dev mailing list