Op woensdag 8 juni 2005 14:12, schreef Takashi Iwai:
> At Wed, 8 Jun 2005 13:13:46 +0200,
>
> Alien wrote:
> > > You don't need to define values if the static array is initialize to
> > > zero.  In this case,
> > >
> > >   static u16 eq_levels[64];
> > >
> > > would be better.
> > >
> > >
> > > Takashi
> >
> > you sure that this will initialize to 0 ? i seem to remember that C
> > doesn't init arrays to 0... unless there's a memset somewhere, of course,
> > i never wrote kernel stuff...
>
> It's sure.  Remeber that I mentioned "static" arrray.
>
>
> Takashi

hmm, i never knew static arrays were initialized to 0...

Attachment: pgp4flxFExYfo.pgp
Description: PGP signature

_______________________________________________
Openvortex-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openvortex-dev

Reply via email to