Skip to content

Commit 11f29fe

Browse files
committed
format fix
1 parent 55b32ce commit 11f29fe

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

libc/src/__support/OSUtil/linux/prctl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace LIBC_NAMESPACE_DECL {
1818
namespace internal {
1919

2020
ErrorOr<int> prctl(int option, unsigned long arg2, unsigned long arg3,
21-
unsigned long arg4, unsigned long arg5) {
21+
unsigned long arg4, unsigned long arg5) {
2222
long ret =
2323
LIBC_NAMESPACE::syscall_impl(SYS_prctl, option, arg2, arg3, arg4, arg5);
2424

libc/src/__support/OSUtil/mmap.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99
#ifndef LLVM_LIBC_SRC___SUPPORT_OSUTIL_MMAP_H
1010
#define LLVM_LIBC_SRC___SUPPORT_OSUTIL_MMAP_H
1111

12-
#include "src/__support/macros/config.h"
1312
#include "src/__support/error_or.h"
13+
#include "src/__support/macros/config.h"
1414
#include <sys/mman.h> // For size_t and off_t
1515

1616
namespace LIBC_NAMESPACE_DECL {
1717
namespace internal {
1818

19-
ErrorOr<void*> mmap(void *addr, size_t size, int prot, int flags, int fd, off_t offset);
19+
ErrorOr<void *> mmap(void *addr, size_t size, int prot, int flags, int fd,
20+
off_t offset);
2021

2122
} // namespace internal
2223
} // namespace LIBC_NAMESPACE_DECL

libc/src/__support/OSUtil/read.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
#include "hdr/types/size_t.h"
1313
#include "hdr/types/ssize_t.h"
1414
#include "hdr/unistd_macros.h"
15-
#include "src/__support/macros/config.h"
1615
#include "src/__support/error_or.h"
16+
#include "src/__support/macros/config.h"
1717

1818
namespace LIBC_NAMESPACE_DECL {
1919
namespace internal {

libc/src/unistd/linux/read.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include "src/unistd/read.h"
1010

1111
#include "src/__support/OSUtil/read.h" // For internal syscall function.
12-
#include "src/__support/libc_errno.h"
1312
#include "src/__support/common.h"
13+
#include "src/__support/libc_errno.h"
1414

1515
namespace LIBC_NAMESPACE_DECL {
1616

0 commit comments

Comments
 (0)