- remove some compiler warnings

git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@299 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-11-30 08:14:11 +00:00
parent 6f8e291f45
commit 71be663e2d
2 changed files with 3 additions and 1 deletions

View file

@ -99,7 +99,7 @@ static u32_t ping_time;
/* port-defined functions used for timer execution */
//void sys_msleep(u32_t ms);
static u32_t sys_now()
inline u32_t sys_now(void)
{
static uint64_t start = 0;
uint64_t end;

View file

@ -69,6 +69,8 @@ typedef size_t mem_ptr_t;
#define MEM_ALIGNMENT 4
#define ETH_PAD_SIZE 2
#define LWIP_CHKSUM_ALGORITHM 2
/* prototypes for printf() and abort() */
#include <metalsvm/stdio.h>
#include <metalsvm/stdlib.h>