diff options
Diffstat (limited to 'newlib/libc/machine/spu/vprintf.c')
-rw-r--r-- | newlib/libc/machine/spu/vprintf.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/newlib/libc/machine/spu/vprintf.c b/newlib/libc/machine/spu/vprintf.c deleted file mode 100644 index 32b86d8f2..000000000 --- a/newlib/libc/machine/spu/vprintf.c +++ /dev/null @@ -1,40 +0,0 @@ -#include <_ansi.h> -#include <stdio.h> - -#include "c99ppe.h" - -#ifdef _HAVE_STDC -#include <stdarg.h> -#else -#include <varargs.h> -#endif - -#ifdef INTEGER_ONLY -# define vprintf viprintf -#endif - -typedef struct -{ - _CONST char* fmt; - unsigned int pad0[ 3 ]; - va_list ap; -} c99_vprintf_t; - -#ifndef _REENT_ONLY - -int -_DEFUN (vprintf, (fmt, ap), - _CONST char *fmt _AND - va_list ap) -{ - c99_vprintf_t args; - - CHECK_STD_INIT(_REENT); - - args.fmt = fmt; - va_copy(args.ap,ap); - - return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_VPRINTF, &args); -} - -#endif /* ! _REENT_ONLY */ |