Skip to content

Commit bd265d2

Browse files
committed
clang-format
1 parent 366ad9a commit bd265d2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

libc/src/time/linux/clock_gettime.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
namespace LIBC_NAMESPACE_DECL {
1616

1717
// TODO(michaelrj): Move this into time/linux with the other syscalls.
18-
LLVM_LIBC_FUNCTION(int, clock_gettime,
19-
(clockid_t clockid, timespec *ts)) {
18+
LLVM_LIBC_FUNCTION(int, clock_gettime, (clockid_t clockid, timespec *ts)) {
2019
auto result = internal::clock_gettime(clockid, ts);
2120

2221
// A negative return value indicates an error with the magnitude of the

libc/src/time/linux/nanosleep.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818

1919
namespace LIBC_NAMESPACE_DECL {
2020

21-
LLVM_LIBC_FUNCTION(int, nanosleep,
22-
(const timespec *req, timespec *rem)) {
21+
LLVM_LIBC_FUNCTION(int, nanosleep, (const timespec *req, timespec *rem)) {
2322
#if SYS_nanosleep
2423
int ret = LIBC_NAMESPACE::syscall_impl<int>(SYS_nanosleep, req, rem);
2524
#elif defined(SYS_clock_nanosleep_time64)

libc/src/time/linux/timespec_get.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
namespace LIBC_NAMESPACE_DECL {
1717

18-
LLVM_LIBC_FUNCTION(int, timespec_get, (timespec *ts, int base)) {
18+
LLVM_LIBC_FUNCTION(int, timespec_get, (timespec * ts, int base)) {
1919
clockid_t clockid;
2020
switch (base) {
2121
case TIME_UTC:

0 commit comments

Comments
 (0)