Merge pull request #3503 from cesanta/revert-3499-putchar

Revert "Use putchar only on POSIX fs"
This commit is contained in:
Sergio R. Caprile
2026-04-09 14:43:59 -03:00
committed by GitHub
2 changed files with 0 additions and 6 deletions
-3
View File
@@ -10252,11 +10252,8 @@ char *mg_mprintf(const char *fmt, ...) {
}
void mg_pfn_stdout(char c, void *param) {
#if MG_ENABLE_POSIX_FS
putchar(c);
#endif
(void) param;
(void) c;
}
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {
-3
View File
@@ -71,11 +71,8 @@ char *mg_mprintf(const char *fmt, ...) {
}
void mg_pfn_stdout(char c, void *param) {
#if MG_ENABLE_POSIX_FS
putchar(c);
#endif
(void) param;
(void) c;
}
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {