Dont use ctype.h from str.h

This commit is contained in:
Sergey Lyubka
2022-01-10 17:30:51 +00:00
parent 97f95e17db
commit 43405afdb2
3 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -539,8 +539,7 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
#endif
#include <ctype.h>
#include <string.h>
struct mg_str {
const char *ptr; // Pointer to string data
+1 -2
View File
@@ -1,7 +1,6 @@
#pragma once
#include <ctype.h>
#include <string.h>
#include "arch.h"
struct mg_str {
const char *ptr; // Pointer to string data
+1
View File
@@ -3,6 +3,7 @@
#define _POSIX_TIMERS
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>