Hello, On Thu, Nov 20, 2008 at 01:04:55AM +0200, Georgi Petrov wrote: > +} *priv = NULL; And you can drop the = NULL, global variables are always initialized to 0 (and NULL is 0, even though the binary pattern of (int)0 and (void *)0 is allowed to differ). Greetings, Reimar Döffinger