]> git.sur5r.net Git - u-boot/blobdiff - lib/tiny-printf.c
fit: Verify all configuration signatures
[u-boot] / lib / tiny-printf.c
index e29377e0004dd09a1d06f966b7936498e6207402..ebef92fc9f6b3c938bfd4abe7894483915b05768 100644 (file)
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1+
 /*
  * Tiny printf version for SPL
  *
@@ -5,8 +6,6 @@
  * http://www.sparetimelabs.com/printfrevisited/printfrevisited.php
  *
  * Copyright (C) 2004,2008  Kustaa Nyholm
- *
- * SPDX-License-Identifier:    LGPL-2.1+
  */
 
 #include <common.h>
@@ -383,12 +382,3 @@ int snprintf(char *buf, size_t size, const char *fmt, ...)
 
        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();
-}