mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2025-12-06 17:15:42 -08:00
Update Print function signature for gnu-efi 3.0.11
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user