mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
There have been no sprintf() callers in the boot wrapper since commit
e275e023aa ("powerpc/44x: Warp patches for the new NDFC driver").
Remove the function definition and declaration.
Signed-off-by: Thorsten Blum <[email protected]>
Reviewed-by: Christophe Leroy (CS GROUP) <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
18 lines
469 B
C
18 lines
469 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PPC_BOOT_STDIO_H_
|
|
#define _PPC_BOOT_STDIO_H_
|
|
|
|
#include <stdarg.h>
|
|
|
|
#define ENOMEM 12 /* Out of Memory */
|
|
#define EINVAL 22 /* Invalid argument */
|
|
#define ENOSPC 28 /* No space left on device */
|
|
|
|
extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
|
|
|
#define fprintf(fmt, args...) printf(args)
|
|
|
|
extern int vsprintf(char *buf, const char *fmt, va_list args);
|
|
|
|
#endif /* _PPC_BOOT_STDIO_H_ */
|