Path: blob/main/crypto/libecc/src/external_deps/print.c
34878 views
/*1* Copyright (C) 2017 - This file is part of libecc project2*3* Authors:4* Ryad BENADJILA <[email protected]>5* Arnaud EBALARD <[email protected]>6* Jean-Pierre FLORI <[email protected]>7*8* Contributors:9* Nicolas VIVET <[email protected]>10* Karim KHALFALLAH <[email protected]>11*12* This software is licensed under a dual BSD and GPL v2 license.13* See LICENSE file at the root folder of the project.14*/15#include <libecc/external_deps/print.h>1617#ifdef WITH_STDLIB18#include <stdio.h>19#include <stdarg.h>20void ext_printf(const char *format, ...)21{22va_list arglist;2324va_start(arglist, format);25vprintf(format, arglist);26va_end(arglist);27}28#else29#error "print.c: you have to implement ext_printf"30#endif313233