mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
Revert "Use putchar only on POSIX fs"
This commit is contained in:
1 parent
d3ba8d8931
commit
fea0f022eb
2 files changed
-6
No files matched your search
@@ -10252,11 +10252,8 @@ char *mg_mprintf(const char *fmt, ...) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void mg_pfn_stdout(char c, void *param) {
|
void mg_pfn_stdout(char c, void *param) {
|
||||||
#if MG_ENABLE_POSIX_FS
|
|
||||||
putchar(c);
|
putchar(c);
|
||||||
#endif
|
|
||||||
(void) param;
|
(void) param;
|
||||||
(void) c;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {
|
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {
|
||||||
|
|||||||
@@ -71,11 +71,8 @@ char *mg_mprintf(const char *fmt, ...) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void mg_pfn_stdout(char c, void *param) {
|
void mg_pfn_stdout(char c, void *param) {
|
||||||
#if MG_ENABLE_POSIX_FS
|
|
||||||
putchar(c);
|
putchar(c);
|
||||||
#endif
|
|
||||||
(void) param;
|
(void) param;
|
||||||
(void) c;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {
|
static size_t print_ip4(void (*out)(char, void *), void *arg, uint8_t *p) {
|
||||||
|
|||||||
Reference in new issue
Block a user