don't use register keyword

This commit is contained in:
Matthew Kennedy 2020-07-29 02:40:10 -07:00
parent 5e7585501c
commit aac641b1f4
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ void append(Logging *logging, const char *text) {
* @note This method if fast because it does not validate much, be sure what you are doing
*/
void appendFast(Logging *logging, const char *text) {
register char *s;
char *s;
s = logging->linePointer;
while ((*s++ = *text++) != 0)
;

View File

@ -64,7 +64,7 @@ float clampF(float min, float clamp, float max) {
}
uint32_t efiStrlen(const char *param) {
register const char *s;
const char *s;
for (s = param; *s; ++s)
;
return (s - param);