Blame gettext-runtime/libasprintf/lib-asprintf.c

Packit 5b56b6
/* Library functions for class autosprintf.
Packit 5b56b6
   Copyright (C) 2002-2003, 2006, 2015 Free Software Foundation, Inc.
Packit 5b56b6
   Written by Bruno Haible <bruno@clisp.org>, 2002.
Packit 5b56b6
Packit 5b56b6
   This program is free software: you can redistribute it and/or modify
Packit 5b56b6
   it under the terms of the GNU Lesser General Public License as published by
Packit 5b56b6
   the Free Software Foundation; either version 2.1 of the License, or
Packit 5b56b6
   (at your option) any later version.
Packit 5b56b6
Packit 5b56b6
   This program is distributed in the hope that it will be useful,
Packit 5b56b6
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 5b56b6
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 5b56b6
   GNU Lesser General Public License for more details.
Packit 5b56b6
Packit 5b56b6
   You should have received a copy of the GNU Lesser General Public License
Packit 5b56b6
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
Packit 5b56b6
Packit 5b56b6
#include <config.h>
Packit 5b56b6
Packit 5b56b6
#if !(HAVE_VASPRINTF && HAVE_POSIX_PRINTF)
Packit 5b56b6
Packit 5b56b6
#define STATIC static
Packit 5b56b6
Packit 5b56b6
/* Define auxiliary functions declared in "printf-args.h".  */
Packit 5b56b6
#include "printf-args.c"
Packit 5b56b6
Packit 5b56b6
/* Define auxiliary functions declared in "printf-parse.h".  */
Packit 5b56b6
#include "printf-parse.c"
Packit 5b56b6
Packit 5b56b6
/* Define functions declared in "vasnprintf.h".  */
Packit 5b56b6
#include "vasnprintf.c"
Packit 5b56b6
#include "asnprintf.c"
Packit 5b56b6
Packit 5b56b6
/* Define functions declared in "vasprintf.h".  */
Packit 5b56b6
#include "vasprintf.c"
Packit 5b56b6
#include "asprintf.c"
Packit 5b56b6
Packit 5b56b6
#endif