Skip to content

Commit 9da0871

Browse files
[libc][NFC] clean up some includes (#99719)
While looking through the list of includes for #99693 I found these includes that also need to be cleaned up. I removed the extra includes in expm1.cpp, but the include in thread.h needs more attention so I just marked it with a todo.
1 parent 93eb9ec commit 9da0871

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

libc/src/__support/threads/thread.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "src/__support/macros/config.h"
2323
#include "src/__support/macros/properties/architectures.h"
2424

25+
// TODO: fix this unguarded linux dep
2526
#include <linux/param.h> // for exec_pagesize.
2627

2728
#include <stddef.h> // For size_t

libc/src/math/generic/expm1.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@
3030
#define LIBC_MATH_EXPM1_SKIP_ACCURATE_PASS
3131
#endif
3232

33-
// #define DEBUGDEBUG
34-
35-
#ifdef DEBUGDEBUG
36-
#include <iomanip>
37-
#include <iostream>
38-
#endif
39-
4033
namespace LIBC_NAMESPACE_DECL {
4134

4235
using fputil::DoubleDouble;

0 commit comments

Comments
 (0)