mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +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/unzip/README.cosmo
vendored
1
third_party/unzip/README.cosmo
vendored
|
@ -22,6 +22,5 @@ LOCAL CHANGES
|
|||
- Normalization of header / build config for platform / repository
|
||||
sed -i -e '/# *include *<.*/d' *.*
|
||||
sed -i -e 's!# *include *"!#include "third_party/unzip/!' *.*
|
||||
sed -i -e '1 i\// clang-format off' *.c *.h
|
||||
|
||||
- Fixed a lot of static analysis buffer overflow warnings.
|
||||
|
|
1
third_party/unzip/api.c
vendored
1
third_party/unzip/api.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/apihelp.c
vendored
1
third_party/unzip/apihelp.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/consts.h
vendored
1
third_party/unzip/consts.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/crc32.c
vendored
1
third_party/unzip/crc32.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/crc32.h
vendored
1
third_party/unzip/crc32.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/crypt.c
vendored
1
third_party/unzip/crypt.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/crypt.h
vendored
1
third_party/unzip/crypt.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/ebcdic.h
vendored
1
third_party/unzip/ebcdic.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/envargs.c
vendored
1
third_party/unzip/envargs.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/explode.c
vendored
1
third_party/unzip/explode.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/extract.c
vendored
1
third_party/unzip/extract.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/fileio.c
vendored
1
third_party/unzip/fileio.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/globals.c
vendored
1
third_party/unzip/globals.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2007 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/globals.h
vendored
1
third_party/unzip/globals.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/inflate.c
vendored
1
third_party/unzip/inflate.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/inflate.h
vendored
1
third_party/unzip/inflate.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2000 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/list.c
vendored
1
third_party/unzip/list.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/match.c
vendored
1
third_party/unzip/match.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/process.c
vendored
1
third_party/unzip/process.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2009 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/timezone.c
vendored
1
third_party/unzip/timezone.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/timezone.h
vendored
1
third_party/unzip/timezone.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2001 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/ttyio.c
vendored
1
third_party/unzip/ttyio.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/ttyio.h
vendored
1
third_party/unzip/ttyio.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2004 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/ubz2err.c
vendored
1
third_party/unzip/ubz2err.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unix.c
vendored
1
third_party/unzip/unix.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unreduce.c
vendored
1
third_party/unzip/unreduce.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2002 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unshrink.c
vendored
1
third_party/unzip/unshrink.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2008 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unxcfg.h
vendored
1
third_party/unzip/unxcfg.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unzip.c
vendored
1
third_party/unzip/unzip.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unzip.h
vendored
1
third_party/unzip/unzip.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*---------------------------------------------------------------------------
|
||||
|
||||
unzip.h (new)
|
||||
|
|
1
third_party/unzip/unzpriv.h
vendored
1
third_party/unzip/unzpriv.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/unzvers.h
vendored
1
third_party/unzip/unzvers.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/zip.h
vendored
1
third_party/unzip/zip.h
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2005 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
1
third_party/unzip/zipinfo.c
vendored
1
third_party/unzip/zipinfo.c
vendored
|
@ -1,4 +1,3 @@
|
|||
// clang-format off
|
||||
/*
|
||||
Copyright (c) 1990-2010 Info-ZIP. All rights reserved.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue