diff options
Diffstat (limited to 'printf/asprintf.c')
-rw-r--r-- | printf/asprintf.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/printf/asprintf.c b/printf/asprintf.c index 638f7eb8b..d7e4b5b7a 100644 --- a/printf/asprintf.c +++ b/printf/asprintf.c @@ -17,38 +17,19 @@ License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU MP Library. If not, see https://www.gnu.org/licenses/. */ -#include "config.h" - -#if HAVE_STDARG #include <stdarg.h> -#else -#include <varargs.h> -#endif #include "gmp.h" #include "gmp-impl.h" int -#if HAVE_STDARG gmp_asprintf (char **result, const char *fmt, ...) -#else -gmp_asprintf (va_alist) - va_dcl -#endif { va_list ap; int ret; -#if HAVE_STDARG va_start (ap, fmt); -#else - char **result; - const char *fmt; - va_start (ap); - result = va_arg (ap, char **); - fmt = va_arg (ap, const char *); -#endif ret = gmp_vasprintf (result, fmt, ap); va_end (ap); |