fix up some comments and strings

This commit is contained in:
bumbread 2023-02-01 20:33:06 +11:00
parent 20dd512870
commit d25fd33ad4
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@
#include "intrin.h"
// Platform-independent stuff
// Platform-independent functionality
#include "util.c"
#include "math/basic.c"
#include "math/division.c"
@ -63,7 +63,7 @@
#include "wchar.c"
#include "wctype.c"
// Windows stuff
// Windows platform functionality
#if defined(CIABATTA_WIN)
#include "os_win/win.h"
#include "os_win/cookie.c"

View File

@ -210,7 +210,7 @@ char *strtok_r(char *restrict s1, const char *restrict s2, char **restrict ctx)
char *strerror(int errnum) {
switch(errnum) {
case 0: return "No errors";
case EDOM: return "Value is out of domain of the function";
case EDOM: return "Value is outside of domain of the function";
case EILSEQ: return "Illegal byte sequence";
case ERANGE: return "Value is out of range";
}