diff --git a/libc/include/features.h b/libc/include/features.h index 8159a280..7c0907b7 100644 --- a/libc/include/features.h +++ b/libc/include/features.h @@ -125,7 +125,4 @@ #define __pure2 __attribute__((__const__)) -/* Don't provide things from standard headers that is not implemented. */ -/*#define __SORTIX_SHOW_UNIMPLEMENTED*/ - #endif diff --git a/libc/include/stdio.h b/libc/include/stdio.h index 5a9aa1c5..78acf9e6 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -134,7 +134,7 @@ int vsprintf(char* __restrict s, const char* __restrict format, __gnuc_va_list a int vsscanf(const char* __restrict s, const char* __restrict format, __gnuc_va_list arg); /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 char* ctermid(char* s); FILE *fmemopen(void* __restrict buf, size_t size, const char* __restrict mode); FILE* open_memstream(char** bufp, size_t* sizep); diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index bfe50fa5..01bf7837 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -129,7 +129,7 @@ int clearenv(void); #endif /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 long a64l(const char* s); double drand48(void); double erand48(unsigned short [3]); diff --git a/libc/include/sys/wait.h b/libc/include/sys/wait.h index 982dc315..c7770878 100644 --- a/libc/include/sys/wait.h +++ b/libc/include/sys/wait.h @@ -38,7 +38,7 @@ __BEGIN_DECLS @include(pid_t.h) /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 int waitid(idtype_t, id_t, siginfo_t*, int); #endif diff --git a/libc/include/unistd.h b/libc/include/unistd.h index d2cf8267..692ef19d 100644 --- a/libc/include/unistd.h +++ b/libc/include/unistd.h @@ -265,7 +265,7 @@ extern char** environ; #endif /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 char* crypt(const char*, const char*); char* ctermid(char*); void encrypt(char [64], int); diff --git a/libc/include/wchar.h b/libc/include/wchar.h index 4fab5a1c..c345ba2d 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -92,7 +92,7 @@ wchar_t* wmemmove(wchar_t*, const wchar_t*, size_t); wchar_t* wmemset(wchar_t*, wchar_t, size_t); /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 double wcstod(const wchar_t* __restrict, wchar_t** __restrict); FILE* open_wmemstream(wchar_t** bufp, size_t* sizep); float wcstof(const wchar_t* __restrict, wchar_t** __restrict); diff --git a/libc/include/wctype.h b/libc/include/wctype.h index ec9277dc..15dfe125 100644 --- a/libc/include/wctype.h +++ b/libc/include/wctype.h @@ -55,7 +55,7 @@ wint_t towupper(wint_t); wctype_t wctype(const char *); /* TODO: These are not implemented in sortix libc yet. */ -#if defined(__SORTIX_SHOW_UNIMPLEMENTED) +#if 0 int iswalnum_l(wint_t, locale_t); int iswalpha_l(wint_t, locale_t); int iswblank_l(wint_t, locale_t);