chore: sdk compiles almost w/o warnings?
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
* This module is a confidential and proprietary property of RealTek and
|
||||
* possession or use of this module requires written permission of RealTek.
|
||||
*/
|
||||
#include "basic_types.h"
|
||||
|
||||
u32
|
||||
Rand (
|
||||
extern _LONG_CALL_ u32 Rand (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
#include <device_lock.h>
|
||||
#include "rtl8710b_ota.h"
|
||||
#include "lwip/netdb.h"
|
||||
#include "rtc_api.h"
|
||||
|
||||
#define OTA2_DEFAULT_ADDR (0x08080000)
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
* This module is a confidential and proprietary property of RealTek and
|
||||
* possession or use of this module requires written permission of RealTek.
|
||||
*/
|
||||
#include "basic_types.h"
|
||||
|
||||
u32
|
||||
Rand (
|
||||
extern _LONG_CALL_ u32 Rand (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ static inline int isodigit(const char c)
|
||||
return c >= '0' && c <= '7';
|
||||
}
|
||||
#ifndef strtoul
|
||||
#define strtoul(str, endp, base) Strtoul(str, endp, base)
|
||||
#define strtoul(str, endp, base) simple_strtoul(str, endp, base)
|
||||
#endif
|
||||
#ifndef strtol
|
||||
#define strtol(str, endp, base) simple_strtol(str, endp, base)
|
||||
|
||||
Reference in New Issue
Block a user