| Index: src/platform/vboot_reference/include/tlcl.h
|
| diff --git a/src/platform/vboot_reference/include/tlcl.h b/src/platform/vboot_reference/include/tlcl.h
|
| index e0b56262d4c17081bdd4651d6488e2912b7d781c..2e6d3fd84588fd8f3a95feafb938cc6c1a74767d 100644
|
| --- a/src/platform/vboot_reference/include/tlcl.h
|
| +++ b/src/platform/vboot_reference/include/tlcl.h
|
| @@ -16,41 +16,6 @@
|
| #include <stdio.h>
|
| #include <stdlib.h>
|
|
|
| -#define POSSIBLY_UNUSED __attribute__((unused))
|
| -
|
| -#ifdef __STRICT_ANSI__
|
| -#define INLINE
|
| -#else
|
| -#define INLINE inline
|
| -#endif
|
| -
|
| -/* Outputs an error message and quits the program.
|
| - */
|
| -POSSIBLY_UNUSED
|
| -static void error(const char *format, ...) {
|
| - va_list ap;
|
| - va_start(ap, format);
|
| - fprintf(stderr, "ERROR: ");
|
| - vfprintf(stderr, format, ap);
|
| - va_end(ap);
|
| - exit(1);
|
| -}
|
| -
|
| -/* Outputs a warning and continues.
|
| - */
|
| -POSSIBLY_UNUSED
|
| -static void warning(const char *format, ...) {
|
| - va_list ap;
|
| - va_start(ap, format);
|
| - fprintf(stderr, "WARNING: ");
|
| - vfprintf(stderr, format, ap);
|
| - va_end(ap);
|
| -}
|
| -
|
| -#define assert(expr) do { if (!(expr)) { \
|
| - error("assert fail: %s at %s:%d\n", \
|
| - #expr, __FILE__, __LINE__); }} while(0)
|
| -
|
| /* Call this first.
|
| */
|
| void TlclLibinit(void);
|
|
|