fix includes and license

This commit is contained in:
Gautham 2023-10-15 17:22:59 -05:00
parent ff0f4d2c21
commit 6d7ccf67b3
8 changed files with 14 additions and 16 deletions

View file

@ -25,14 +25,13 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "libc/mem/mem.h"
#define _GNU_SOURCE #define _GNU_SOURCE
#include "libc/isystem/stdlib.h"
#include "libc/isystem/string.h"
#include "third_party/musl/search.h" #include "third_party/musl/search.h"
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -29,7 +29,7 @@
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -25,12 +25,12 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "libc/isystem/string.h" #include "libc/mem/mem.h"
#include "third_party/musl/search.h" #include "third_party/musl/search.h"
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -25,13 +25,13 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "libc/isystem/stdlib.h" #include "libc/mem/mem.h"
#include "third_party/musl/search.h" #include "third_party/musl/search.h"
#include "third_party/musl/tsearch.h" #include "third_party/musl/tsearch.h"
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -25,15 +25,14 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "libc/mem/mem.h"
#define _GNU_SOURCE #define _GNU_SOURCE
#include "libc/isystem/stdlib.h"
#include "libc/isystem/string.h"
#include "third_party/musl/search.h" #include "third_party/musl/search.h"
#include "third_party/musl/tsearch.h" #include "third_party/musl/tsearch.h"
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -30,7 +30,7 @@
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -25,14 +25,14 @@
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
#include "libc/isystem/stdlib.h" #include "libc/mem/mem.h"
#include "libc/isystem/string.h" #include "libc/str/str.h"
#include "third_party/musl/search.h" #include "third_party/musl/search.h"
#include "third_party/musl/tsearch.h" #include "third_party/musl/tsearch.h"
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off

View file

@ -30,7 +30,7 @@
asm(".ident\t\"\\n\\n\ asm(".ident\t\"\\n\\n\
Musl libc (MIT License)\\n\ Musl libc (MIT License)\\n\
Copyright 2005-2014 Rich Felker, et. al.\""); Copyright 2005-2020 Rich Felker, et. al.\"");
asm(".include \"libc/disclaimer.inc\""); asm(".include \"libc/disclaimer.inc\"");
// clang-format off // clang-format off