Dont use ctype.h from str.h

This commit is contained in:
Sergey Lyubka committed 2022-01-10 17:30:51 +00:00
1 parent 97f95e17db
commit 43405afdb2
3 files changed
+3 -4

No files matched your search

+1 -2
View File
@@ -539,8 +539,7 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
#endif #endif
#include <ctype.h>
#include <string.h>
struct mg_str { struct mg_str {
const char *ptr; // Pointer to string data const char *ptr; // Pointer to string data
+1 -2
View File
@@ -1,7 +1,6 @@
#pragma once #pragma once
#include <ctype.h> #include "arch.h"
#include <string.h>
struct mg_str { struct mg_str {
const char *ptr; // Pointer to string data const char *ptr; // Pointer to string data
+1
View File
@@ -3,6 +3,7 @@
#define _POSIX_TIMERS #define _POSIX_TIMERS
#include <ctype.h>
#include <errno.h> #include <errno.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdbool.h> #include <stdbool.h>