mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
This commit is contained in:
parent
96f979dfc5
commit
fa20edc44d
3057 changed files with 410 additions and 4398 deletions
1
third_party/double-conversion/test/cctest.cc
vendored
1
third_party/double-conversion/test/cctest.cc
vendored
|
@ -25,7 +25,6 @@
|
|||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "third_party/double-conversion/test/cctest.h"
|
||||
// clang-format off
|
||||
|
||||
|
||||
CcTest* CcTest::last_ = NULL;
|
||||
|
|
1
third_party/double-conversion/test/cctest.h
vendored
1
third_party/double-conversion/test/cctest.h
vendored
|
@ -27,7 +27,6 @@
|
|||
#ifndef CCTEST_H_
|
||||
#define CCTEST_H_
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
#ifndef TEST
|
||||
#define TEST(Name) \
|
||||
|
|
1
third_party/double-conversion/test/checks.h
vendored
1
third_party/double-conversion/test/checks.h
vendored
|
@ -27,7 +27,6 @@
|
|||
#ifndef V8_CHECKS_H_
|
||||
#define V8_CHECKS_H_
|
||||
//#include "third_party/double-conversion/test/flags.h"
|
||||
// clang-format off
|
||||
|
||||
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...);
|
||||
void API_Fatal(const char* location, const char* format, ...);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// Copyright 2010 the V8 project authors. All rights reserved.
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// Copyright 2010 the V8 project authors. All rights reserved.
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// Copyright 2011 the V8 project authors. All rights reserved.
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
using namespace double_conversion;
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "third_party/double-conversion/bignum.h"
|
||||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
using namespace double_conversion;
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "third_party/double-conversion/ieee.h"
|
||||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
// DoubleToString is already tested in test-dtoa.cc.
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "third_party/double-conversion/diy-fp.h"
|
||||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
|
||||
using namespace double_conversion;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "third_party/double-conversion/test/gay-precision.h"
|
||||
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||
// clang-format off
|
||||
|
||||
|
||||
using namespace double_conversion;
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#include "third_party/double-conversion/test/gay-shortest-single.h"
|
||||
#include "third_party/double-conversion/test/gay-shortest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
using namespace double_conversion;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/test/gay-fixed.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
using namespace double_conversion;
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
#include "third_party/libcxx/limits"
|
||||
// clang-format off
|
||||
|
||||
|
||||
using namespace double_conversion;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
#include "third_party/double-conversion/strtod.h"
|
||||
#include "third_party/double-conversion/test/cctest.h"
|
||||
#include "third_party/double-conversion/utils.h"
|
||||
// clang-format off
|
||||
|
||||
using namespace double_conversion;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue