1*f0865ec9SKyle Evans /* 2*f0865ec9SKyle Evans * Copyright (C) 2017 - This file is part of libecc project 3*f0865ec9SKyle Evans * 4*f0865ec9SKyle Evans * Authors: 5*f0865ec9SKyle Evans * Ryad BENADJILA <ryadbenadjila@gmail.com> 6*f0865ec9SKyle Evans * Arnaud EBALARD <arnaud.ebalard@ssi.gouv.fr> 7*f0865ec9SKyle Evans * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr> 8*f0865ec9SKyle Evans * 9*f0865ec9SKyle Evans * Contributors: 10*f0865ec9SKyle Evans * Nicolas VIVET <nicolas.vivet@ssi.gouv.fr> 11*f0865ec9SKyle Evans * Karim KHALFALLAH <karim.khalfallah@ssi.gouv.fr> 12*f0865ec9SKyle Evans * 13*f0865ec9SKyle Evans * This software is licensed under a dual BSD and GPL v2 license. 14*f0865ec9SKyle Evans * See LICENSE file at the root folder of the project. 15*f0865ec9SKyle Evans */ 16*f0865ec9SKyle Evans #include <libecc/external_deps/print.h> 17*f0865ec9SKyle Evans 18*f0865ec9SKyle Evans #ifdef WITH_STDLIB 19*f0865ec9SKyle Evans #include <stdio.h> 20*f0865ec9SKyle Evans #include <stdarg.h> ext_printf(const char * format,...)21*f0865ec9SKyle Evansvoid ext_printf(const char *format, ...) 22*f0865ec9SKyle Evans { 23*f0865ec9SKyle Evans va_list arglist; 24*f0865ec9SKyle Evans 25*f0865ec9SKyle Evans va_start(arglist, format); 26*f0865ec9SKyle Evans vprintf(format, arglist); 27*f0865ec9SKyle Evans va_end(arglist); 28*f0865ec9SKyle Evans } 29*f0865ec9SKyle Evans #else 30*f0865ec9SKyle Evans #error "print.c: you have to implement ext_printf" 31*f0865ec9SKyle Evans #endif 32