Converted u8_t to uint8_t and u16_t to uint16_t in the platforms directory.

Added "These names are deprecated, use C99 names" warnings the contiki-conf.h files that were missing it.
This commit is contained in:
Nicholas J Humfrey 2012-02-20 19:32:05 +00:00 committed by Mariano Alvira
parent a561d20828
commit 680225e99d
57 changed files with 274 additions and 250 deletions

View file

@ -41,7 +41,7 @@
#define HTTPD_FS_STATISTICS 2 //Puts count in RAM array
#if HTTPD_FS_STATISTICS==2
extern u16_t httpd_filecount[];
extern uint16_t httpd_filecount[];
#endif /* HTTPD_FS_STATISTICS */
#include <avr/pgmspace.h>
@ -59,12 +59,12 @@ void httpd_fs_init(void);
/* Returns root of http files in program flash */
void* httpd_fs_get_root();
/* Returns size of http files in any flash */
u16_t httpd_fs_get_size();
uint16_t httpd_fs_get_size();
/* Open a file in any flash and return statistics if enabled.
If file is allocated by caller it will be filled in.
If NULL, just file stats are returned.
*/
u16_t httpd_fs_open(const char *name, struct httpd_fs_file *file);
uint16_t httpd_fs_open(const char *name, struct httpd_fs_file *file);
#if COFFEE_FILES
/* Coffee file system can be static or dynamic. If static, new files