diff options
| author | Bastien Roucariès <rouca@debian.org> | 2024-05-06 19:17:23 +0000 |
|---|---|---|
| committer | Bastien Roucariès <rouca@debian.org> | 2024-05-06 19:17:23 +0000 |
| commit | 0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb (patch) | |
| tree | a66ff512cd9be70de19d8983a2a04b9a1d03da6b /include/console.h | |
| parent | ee3097c3f96727fdb41e36d93b6c957d281da97e (diff) | |
| parent | a075e58606b9affb6dfb176c71caab816737a981 (diff) | |
| download | efi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.tar.gz efi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.zip | |
Merge tag 'upstream/15.8' into buster/updates
Upstream version 15.8
Diffstat (limited to 'include/console.h')
| -rw-r--r-- | include/console.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/console.h b/include/console.h index 0c4a5137..7ac4e113 100644 --- a/include/console.h +++ b/include/console.h @@ -106,8 +106,8 @@ extern UINT32 verbose; dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ ##__VA_ARGS__) #else -#define dprint_(...) -#define dprint(fmt, ...) +#define dprint_(...) ({ ; }) +#define dprint(fmt, ...) ({ ; }) #endif extern EFI_STATUS EFIAPI vdprint_(const CHAR16 *fmt, const char *file, int line, @@ -122,7 +122,9 @@ extern EFI_STATUS EFIAPI vdprint_(const CHAR16 *fmt, const char *file, int line, extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *func, int line); #define crypterr(rc) print_crypto_errors((rc), __FILE__, __func__, __LINE__) -extern VOID msleep(unsigned long msecs); +#ifndef SHIM_UNIT_TEST +extern VOID usleep(unsigned long usecs); +#endif /* This is used in various things to determine if we should print to the * console */ |
