mirror of
https://github.com/Metabolix/HackBGRT.git
synced 2026-09-27 06:21:24 -07:00
Update Print function signature for gnu-efi 3.0.11
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
/**
|
/**
|
||||||
* The Print function signature.
|
* 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.
|
* The function for debug printing; either Print or NullPrint.
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ const CHAR16* TmpStr(CHAR8 *src, int length) {
|
|||||||
return dest;
|
return dest;
|
||||||
}
|
}
|
||||||
|
|
||||||
UINTN NullPrint(IN CHAR16 *fmt, ...) {
|
UINTN NullPrint(IN CONST CHAR16 *fmt, ...) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ extern const CHAR16* TmpStr(CHAR8 *src, int length);
|
|||||||
/**
|
/**
|
||||||
* Empty function that has the same signature as Print.
|
* 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.
|
* Return the greater of two numbers.
|
||||||
|
|||||||
Reference in New Issue
Block a user