From: Bruno Haible Date: Sat, 17 Mar 2007 18:35:49 +0000 (+0000) Subject: Include , for malloc(). X-Git-Tag: cvs-readonly~764 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=7a64ae7c519b666be092768c4d65080e006a4408;p=gnulib.git Include , for malloc(). --- diff --git a/ChangeLog b/ChangeLog index cc7c266ab..117c58f50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-03-17 Bruno Haible + * lib/unistr/u8-cpy-alloc.c: Include . + * lib/unistr/u16-cpy-alloc.c: Include . + * lib/unistr/u32-cpy-alloc.c: Include . + +2007-03-17 Bruno Haible + * gnulib-tool (func_import): Update .cvsignore and .gitignore files to reflect files copied from gnulib (with or without modifications). Suggested by Jim Meyering. diff --git a/lib/unistr/u16-cpy-alloc.c b/lib/unistr/u16-cpy-alloc.c new file mode 100644 index 000000000..605fc89cd --- /dev/null +++ b/lib/unistr/u16-cpy-alloc.c @@ -0,0 +1,29 @@ +/* Copy piece of UTF-16 string. + Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. + Written by Bruno Haible , 2002. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + USA. */ + +#include + +/* Specification. */ +#include "unistr.h" + +#include + +#define FUNC u16_cpy_alloc +#define UNIT uint16_t +#include "u-cpy-alloc.h"