Skip to content

Commit

Permalink
[libc][NFC] clean up some includes (llvm#99719)
Browse files Browse the repository at this point in the history
While looking through the list of includes for llvm#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.
  • Loading branch information
michaelrj-google authored Jul 22, 2024
1 parent 93eb9ec commit 9da0871
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions libc/src/__support/threads/thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "src/__support/macros/config.h"
#include "src/__support/macros/properties/architectures.h"

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

#include <stddef.h> // For size_t
Expand Down
7 changes: 0 additions & 7 deletions libc/src/math/generic/expm1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
#define LIBC_MATH_EXPM1_SKIP_ACCURATE_PASS
#endif

// #define DEBUGDEBUG

#ifdef DEBUGDEBUG
#include <iomanip>
#include <iostream>
#endif

namespace LIBC_NAMESPACE_DECL {

using fputil::DoubleDouble;
Expand Down

0 comments on commit 9da0871

Please sign in to comment.