Skip to content

Commit 52a98bb

Browse files
committed
nit: remove redundant includes
1 parent 2f0d16e commit 52a98bb

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

libc/src/unistd/linux/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ add_entrypoint_object(
467467
../setsid.h
468468
DEPENDS
469469
libc.hdr.types.pid_t
470-
libc.hdr.fcntl_macros
471-
libc.include.unistd
472470
libc.include.sys_syscall
473471
libc.src.__support.OSUtil.osutil
474472
)

libc/src/unistd/linux/setsid.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "src/unistd/setsid.h"
1010

11+
#include "hdr/types/pid_t.h"
1112
#include "src/__support/OSUtil/syscall.h" // For internal syscall function.
1213
#include "src/__support/common.h"
1314
#include "src/__support/macros/config.h"

libc/src/unistd/setsid.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#define LLVM_LIBC_SRC_UNISTD_GETPID_H
1111

1212
#include "hdr/types/pid_t.h"
13-
#include "hdr/unistd_macros.h"
1413
#include "src/__support/macros/config.h"
1514

1615
namespace LIBC_NAMESPACE_DECL {

0 commit comments

Comments
 (0)