don't use register keyword
This commit is contained in:
parent
5e7585501c
commit
aac641b1f4
|
@ -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
|
* @note This method if fast because it does not validate much, be sure what you are doing
|
||||||
*/
|
*/
|
||||||
void appendFast(Logging *logging, const char *text) {
|
void appendFast(Logging *logging, const char *text) {
|
||||||
register char *s;
|
char *s;
|
||||||
s = logging->linePointer;
|
s = logging->linePointer;
|
||||||
while ((*s++ = *text++) != 0)
|
while ((*s++ = *text++) != 0)
|
||||||
;
|
;
|
||||||
|
|
|
@ -64,7 +64,7 @@ float clampF(float min, float clamp, float max) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t efiStrlen(const char *param) {
|
uint32_t efiStrlen(const char *param) {
|
||||||
register const char *s;
|
const char *s;
|
||||||
for (s = param; *s; ++s)
|
for (s = param; *s; ++s)
|
||||||
;
|
;
|
||||||
return (s - param);
|
return (s - param);
|
||||||
|
|
Loading…
Reference in New Issue