Fix ctype.h and wctype.h

This commit is contained in:
Justine Tunney 2024-07-21 15:54:17 -07:00
parent e7be5a5e2b
commit 7ebaff34c6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
180 changed files with 264 additions and 92 deletions

View file

@ -60,6 +60,7 @@ Contact: antirez@gmail.com");
#include "libc/calls/calls.h"
#include "libc/calls/termios.h"
#include "libc/calls/weirdtypes.h"
#include "libc/ctype.h"
#include "libc/errno.h"
#include "libc/log/log.h"
#include "libc/mem/alg.h"

View file

@ -14,6 +14,7 @@
#include "libc/calls/struct/sigaction.h"
#include "libc/calls/struct/sigset.h"
#include "libc/calls/termios.h"
#include "libc/ctype.h"
#include "libc/errno.h"
#include "libc/log/check.h"
#include "libc/log/log.h"

View file

@ -119,6 +119,7 @@
#include "libc/calls/struct/stat.h"
#include "libc/calls/struct/tms.h"
#include "libc/calls/termios.h"
#include "libc/ctype.h"
#include "libc/dce.h"
#include "libc/errno.h"
#include "libc/fmt/conv.h"
@ -11142,7 +11143,9 @@ static void exitreset() {
inps4 = 0;
}
/* from expand.c: */
{ ifsfree(); }
{
ifsfree();
}
/* from redir.c: */
{
/*
@ -11165,9 +11168,13 @@ static void forkreset() {
}
}
/* from main.c: */
{ handler = &main_handler; }
{
handler = &main_handler;
}
/* from redir.c: */
{ redirlist = NULL; }
{
redirlist = NULL;
}
/* from trap.c: */
{
char **tp;
@ -11198,7 +11205,9 @@ static void reset() {
popallfiles();
}
/* from var.c: */
{ unwindlocalvars(0); }
{
unwindlocalvars(0);
}
}
static void calcsize(union node *n) {

View file

@ -30,6 +30,7 @@
*/
#include "libc/calls/calls.h"
#include "libc/calls/weirdtypes.h"
#include "libc/ctype.h"
#include "libc/errno.h"
#include "libc/log/bsd.h"
#include "libc/mem/mem.h"