Update Print function signature for gnu-efi 3.0.11

This commit is contained in:
Lauri Kenttä
2020-03-01 05:53:12 +02:00
parent 3396a4799d
commit 4cf12f26b2
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
/**
* The Print function signature.
*/
typedef UINTN print_t(IN CHAR16 *fmt, ...);
typedef UINTN print_t(IN CONST CHAR16 *fmt, ...);
/**
* The function for debug printing; either Print or NullPrint.

View File

@@ -14,7 +14,7 @@ const CHAR16* TmpStr(CHAR8 *src, int length) {
return dest;
}
UINTN NullPrint(IN CHAR16 *fmt, ...) {
UINTN NullPrint(IN CONST CHAR16 *fmt, ...) {
return 0;
}

View File

@@ -14,7 +14,7 @@ extern const CHAR16* TmpStr(CHAR8 *src, int length);
/**
* Empty function that has the same signature as Print.
*/
extern UINTN NullPrint(IN CHAR16 *fmt, ...);
extern UINTN NullPrint(IN CONST CHAR16 *fmt, ...);
/**
* Return the greater of two numbers.