Update Print function signature for gnu-efi 3.0.11

This commit is contained in:
Lauri Kenttä
2020-03-01 06:03:17 +02:00
parent 3396a4799d
commit 4cf12f26b2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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.