mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 01:35:36 +00:00
Remove use of "register" keyword, deprecated in C++17
"register" as a storage class specifier has been deprecated since C++11, and has been removed from C++17 while remaining a reserved word. See C++17 5.11 and C.4.3. Change-Id: I2dbab8a7061cb680d902644d39ea1a7fbc930e5c Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1749329 Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
01dfa81f1b
commit
07411862ea
|
@ -65,7 +65,7 @@ void *thread_function(void *data) {
|
||||||
perror("ERROR: parent notification failed");
|
perror("ERROR: parent notification failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
register volatile pid_t *thread_id_ptr asm(TID_PTR_REGISTER) = thread_id;
|
volatile pid_t *thread_id_ptr asm(TID_PTR_REGISTER) = thread_id;
|
||||||
while (true)
|
while (true)
|
||||||
asm volatile ("" : : "r" (thread_id_ptr));
|
asm volatile ("" : : "r" (thread_id_ptr));
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue