1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Clean up ets_printf declarations

This commit is contained in:
Ivan Grokhotkov
2014-12-18 18:45:22 +03:00
parent c87a77e0da
commit c418bac33c
8 changed files with 11 additions and 6 deletions

View File

@ -101,7 +101,7 @@ char *ets_strncpy(char *dest, const char *src, size_t n);
char *ets_strstr(const char *haystack, const char *needle);
int ets_sprintf(char *str, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
int ets_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
void ets_install_putc1(void* routine);
void uart_div_modify(int no, int freq);
void ets_isr_mask(int intr);

View File

@ -42,6 +42,7 @@
#define os_timer_setfn ets_timer_setfn
#define os_sprintf ets_sprintf
#define os_printf ets_printf
#define os_update_cpu_frequency ets_update_cpu_frequency
#endif