From: Petr Baudis Date: Wed, 23 May 2007 13:24:29 GMT Subject: Re: [PATCH 1/3] Added generic string handling code. Message-ID: <20070523132429.GM4489@pasky.or.cz> In-Reply-To: <1179917386.32181.1643.camel@hurina> On Wed, May 23, 2007 at 12:49:46PM CEST, Timo Sirainen wrote: > On Tue, 2007-05-22 at 15:40 +0200, Petr Baudis wrote: > > On Sun, May 20, 2007 at 04:24:29AM CEST, Timo Sirainen wrote: > > > diff --git a/str.c b/str.c > > > new file mode 100644 > > > index 0000000..d46e7f4 > > > --- /dev/null > > > +++ b/str.c > > > @@ -0,0 +1,40 @@ > > > +#include "str.h" > > > + > > > +void _str_append(struct string *str, const char *cstr) > > > > _ is reserved namespace. > > I remember __ is, but was _ too? A lot of programs are using that. :) C99 7.1.3 says that -- All identifiers that begin with an underscore are always reserved for use as identifiers with file scope in both the ordinary and tag name spaces. Hmm, this _is_ file scope, right? -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Ever try. Ever fail. No matter. // Try again. Fail again. Fail better. -- Samuel Beckett