Remove more nonstandard stuff from cosmopolitan.h

Fixes #61
This commit is contained in:
Justine Tunney 2021-02-28 23:42:35 -08:00
parent 5e069a64d4
commit d932948fb4
954 changed files with 1095 additions and 1342 deletions

View file

@ -23,7 +23,7 @@
TEST(ParseAsmdown, test) {
struct Asmdown *ad;
const char *s = "\
#include \"libc/macros.h\"\n\
#include \"libc/macros.internal.h\"\n\
.source __FILE__\n\
\n\
/ Returns absolute value of double.\n\
@ -86,7 +86,7 @@ tinymath_acos:\n\
TEST(ParseAsmdown, testAlias) {
struct Asmdown *ad;
const char *s = "\
#include \"libc/macros.h\"\n\
#include \"libc/macros.internal.h\"\n\
.source __FILE__\n\
\n\
/ Returns arc cosine of 𝑥.\n\
@ -136,7 +136,7 @@ tinymath_acos:\n\
TEST(ParseAsmdown, testClangIsEvil) {
struct Asmdown *ad;
const char *s = "\
#include \"libc/macros.h\"\n\
#include \"libc/macros.internal.h\"\n\
.source __FILE__\n\
\n\
// Returns arc cosine of 𝑥.\n\

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/macros.h"
#include "libc/macros.internal.h"
#include "libc/testlib/testlib.h"
#include "test/tool/build/lib/numbers.h"
#include "tool/build/lib/bitscan.h"

View file

@ -16,7 +16,7 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/macros.h"
#include "libc/macros.internal.h"
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/testlib/testlib.h"

View file

@ -17,7 +17,7 @@
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/bits/weaken.h"
#include "libc/macros.h"
#include "libc/macros.internal.h"
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "test/tool/build/lib/numbers.h"