/branches/arm/kernel/generic/include/print.h |
---|
1,3 → 1,4 |
#include "../../arch/arm32/src/aux_print/printf.h" |
/* |
* Copyright (c) 2001-2004 Jakub Jermar |
* All rights reserved. |
45,7 → 46,8 |
#define EOF (-1) |
extern int puts(const char *s); |
extern int printf(const char *fmt, ...); |
//extern int printf(const char *fmt, ...); |
#define printf(xx...) aux_printf(xx) |
extern int sprintf(char *str, const char *fmt, ...); |
extern int snprintf(char *str, size_t size, const char *fmt, ...); |
/branches/arm/kernel/generic/src/printf/printf.c |
---|
33,8 → 33,9 |
*/ |
#include <print.h> |
int XXprintf(const char *fmt, ...); |
int printf(const char *fmt, ...) |
int XXprintf(const char *fmt, ...) |
{ |
int ret; |
va_list args; |