X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=adt%2Fobstack_printf.c;h=baae1092c5e28d7257cf819022c172f8020c7b35;hb=442cc935f91c445283176287cd3c6fe536416bf7;hp=65f06dc4f56bdf3747c08f962d5f75c099cfb6ea;hpb=6d6779f86e8a3efe896e71b805a4cc087b6128a6;p=cparser diff --git a/adt/obstack_printf.c b/adt/obstack_printf.c index 65f06dc..baae109 100644 --- a/adt/obstack_printf.c +++ b/adt/obstack_printf.c @@ -1,11 +1,28 @@ +/* + * This file is part of cparser. + * Copyright (C) 2007-2008 Matthias Braun + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + * 02111-1307, USA. + */ +#include + #include #include #include "obstack.h" -#ifdef _WIN32 -#define vsnprintf _vsnprintf -#endif - int obstack_printf(struct obstack *obst, const char *fmt, ...) { char buf[1024];