enable -std=gnu11 for http dir

This commit is contained in:
devsaurus 2016-01-23 22:41:41 +01:00
parent 8befcf0888
commit 19fda87e33
3 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ ifndef PDIR
GEN_LIBS = libhttp.a GEN_LIBS = libhttp.a
endif endif
STD_CFLAGS=-std=gnu11 -Wimplicit
############################################################# #############################################################
# Configuration i.e. compile options etc. # Configuration i.e. compile options etc.

View File

@ -122,6 +122,7 @@ char *ets_strcpy (char *dst, const char *src);
size_t ets_strlen (const char *s); size_t ets_strlen (const char *s);
int ets_strcmp (const char *s1, const char *s2); int ets_strcmp (const char *s1, const char *s2);
int ets_strncmp (const char *s1, const char *s2, size_t n); int ets_strncmp (const char *s1, const char *s2, size_t n);
char *ets_strstr(const char *haystack, const char *needle);
void ets_delay_us (uint32_t us); void ets_delay_us (uint32_t us);

View File

@ -4,6 +4,7 @@
#include "rom.h" #include "rom.h"
void ets_timer_arm_new (ETSTimer *a, int b, int c, int isMstimer); void ets_timer_arm_new (ETSTimer *a, int b, int c, int isMstimer);
int atoi(const char *nptr);
int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); int os_printf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2))); int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2)));