projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git]
/
lib
/
tiny-printf.c
diff --git
a/lib/tiny-printf.c
b/lib/tiny-printf.c
index e29377e0004dd09a1d06f966b7936498e6207402..ebef92fc9f6b3c938bfd4abe7894483915b05768 100644
(file)
--- a/
lib/tiny-printf.c
+++ b/
lib/tiny-printf.c
@@
-1,3
+1,4
@@
+// SPDX-License-Identifier: LGPL-2.1+
/*
* Tiny printf version for SPL
*
/*
* Tiny printf version for SPL
*
@@
-5,8
+6,6
@@
* http://www.sparetimelabs.com/printfrevisited/printfrevisited.php
*
* Copyright (C) 2004,2008 Kustaa Nyholm
* http://www.sparetimelabs.com/printfrevisited/printfrevisited.php
*
* Copyright (C) 2004,2008 Kustaa Nyholm
- *
- * SPDX-License-Identifier: LGPL-2.1+
*/
#include <common.h>
*/
#include <common.h>
@@
-383,12
+382,3
@@
int snprintf(char *buf, size_t size, const char *fmt, ...)
return ret;
}
return ret;
}
-
-void __assert_fail(const char *assertion, const char *file, unsigned line,
- const char *function)
-{
- /* This will not return */
- printf("%s:%u: %s: Assertion `%s' failed.", file, line, function,
- assertion);
- hang();
-}