source: mainline/boot/generic/src/printf.c@ 39916d6

Last change on this file since 39916d6 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 307 bytes
Line 
1/*
2 * SPDX-FileCopyrightText: 2006 Josef Cejka
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/** @file
8 */
9
10#include <printf.h>
11#include <stdarg.h>
12
13int printf(const char *fmt, ...)
14{
15 int ret;
16 va_list args;
17
18 va_start(args, fmt);
19
20 ret = vprintf(fmt, args);
21
22 va_end(args);
23
24 return ret;
25}
26
27/** @}
28 */
Note: See TracBrowser for help on using the repository browser.