More missing includes. Thanks Rickta59!

v0.9.0
Jeroen Domburg 10 years ago
parent c22ae3469f
commit 46baa07a14
  1. 40
      include/espmissingincludes.h

@ -5,32 +5,32 @@
//Missing function prototypes in include folders. Gcc will warn on these if we don't define 'em anywhere. //Missing function prototypes in include folders. Gcc will warn on these if we don't define 'em anywhere.
//MOST OF THESE ARE GUESSED! but they seem to swork and shut up the compiler. //MOST OF THESE ARE GUESSED! but they seem to swork and shut up the compiler.
void ets_isr_attach(int routine, void* something, void *buff);
void uart_div_modify(int no, int div); int atoi(const char *nptr);
void ets_isr_unmask(int something);
void ets_install_putc1(void *routine); void ets_install_putc1(void *routine);
void *pvPortMalloc(size_t xWantedSize); void ets_isr_attach(int intr, void *handler, void *arg);
void pvPortFree(void *ptr); void ets_isr_mask(unsigned intr);
void *vPortMalloc(size_t xWantedSize); void ets_isr_unmask(unsigned intr);
void vPortFree(void *ptr); int ets_memcmp(const void *s1, const void *s2, size_t n);
void *ets_memcpy(void *dest, const void *src, size_t n); void *ets_memcpy(void *dest, const void *src, size_t n);
void *ets_memset(void *s, int c, size_t n); void *ets_memset(void *s, int c, size_t n);
void ets_timer_arm_new(ETSTimer *a, int b, int c, int isMstimer); int ets_sprintf(char *str, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
void ets_timer_setfn(ETSTimer *t, ETSTimerFunc *fn, void *parg); int ets_str2macaddr(void *, void *);
void ets_timer_disarm(ETSTimer *a);
int atoi(const char *nptr);
int ets_strncmp(const char *s1, const char *s2, int len);
int ets_strcmp(const char *s1, const char *s2); int ets_strcmp(const char *s1, const char *s2);
int ets_strlen(const char *s);
char *ets_strcpy(char *dest, const char *src); char *ets_strcpy(char *dest, const char *src);
size_t ets_strlen(const char *s);
int ets_strncmp(const char *s1, const char *s2, int len);
char *ets_strncpy(char *dest, const char *src, size_t n); char *ets_strncpy(char *dest, const char *src, size_t n);
char *ets_strstr(const char *haystack, const char *needle); char *ets_strstr(const char *haystack, const char *needle);
int ets_sprintf(char *str, const char *format, ...) __attribute__ ((format (printf, 2, 3))); void ets_timer_arm_new(ETSTimer *a, int b, int c, int isMstimer);
int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4))); void ets_timer_disarm(ETSTimer *a);
void ets_timer_setfn(ETSTimer *t, ETSTimerFunc *fn, void *parg);
int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
void uart_div_modify(int no, int freq); int os_snprintf(char *str, size_t size, const char *format, ...) __attribute__ ((format (printf, 3, 4)));
void ets_isr_unmask(int intr); void pvPortFree(void *ptr);
void ets_install_putc1(void *routine); void *pvPortMalloc(size_t xWantedSize);
void ets_isr_attach(int intr, void *handler, void *arg); void *pvPortZalloc(size_t);
void uart_div_modify(int no, unsigned int freq);
void vPortFree(void *ptr);
void *vPortMalloc(size_t xWantedSize);
#endif #endif
Loading…
Cancel
Save