Might fix clang-format?

This commit is contained in:
Stephen Miller 2024-08-16 15:10:20 -05:00
parent 6510af90be
commit 93f14e8ae9
1 changed files with 7 additions and 14 deletions

View File

@ -1388,8 +1388,7 @@ int PS4_SYSV_ABI posix_sem_init(sem_t* sem, int pshared, unsigned int value) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ENOSPC); ErrSceToPosix(ORBIS_KERNEL_ERROR_ENOSPC);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1411,8 +1410,7 @@ int PS4_SYSV_ABI posix_sem_wait(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT); ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1434,8 +1432,7 @@ int PS4_SYSV_ABI posix_sem_trywait(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EAGAIN); ErrSceToPosix(ORBIS_KERNEL_ERROR_EAGAIN);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1487,8 +1484,7 @@ int PS4_SYSV_ABI posix_sem_timedwait(sem_t* sem, const timespec* t) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT); ErrSceToPosix(ORBIS_KERNEL_ERROR_ETIMEDOUT);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1510,8 +1506,7 @@ int PS4_SYSV_ABI posix_sem_post(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_ERANGE); ErrSceToPosix(ORBIS_KERNEL_ERROR_ERANGE);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1536,8 +1531,7 @@ int PS4_SYSV_ABI posix_sem_destroy(sem_t* sem) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK); ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }
@ -1562,8 +1556,7 @@ int PS4_SYSV_ABI posix_sem_getvalue(sem_t* sem, int* sval) {
ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK); ErrSceToPosix(ORBIS_KERNEL_ERROR_EDEADLK);
break; break;
case EINVAL: case EINVAL:
default:
default:
ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL); ErrSceToPosix(ORBIS_KERNEL_ERROR_EINVAL);
break; break;
} }