samples: net: zperf: Fix llvm compiler warnings

Jira: ZEP-1884

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2017-06-01 15:14:14 +03:00 committed by Anas Nashif
commit 7d13261bd9
2 changed files with 3 additions and 3 deletions

View file

@ -134,7 +134,7 @@ struct net_stack_info {
#if defined(CONFIG_INIT_STACKS)
#include <misc/stack.h>
static inline void net_analyze_stack_get_values(unsigned char *stack,
static inline void net_analyze_stack_get_values(const char *stack,
size_t size,
unsigned *pcnt,
unsigned *unused)
@ -146,7 +146,7 @@ static inline void net_analyze_stack_get_values(unsigned char *stack,
}
static inline void net_analyze_stack(const char *name,
unsigned char *stack,
const char *stack,
size_t size)
{
unsigned int pcnt, unused;

View file

@ -17,7 +17,7 @@
#define TAG CMD_STR_UDP_UPLOAD" "
static char sample_packet[PACKET_SIZE_MAX];
static u8_t sample_packet[PACKET_SIZE_MAX];
static inline void zperf_upload_decode_stat(struct net_pkt *pkt,
struct zperf_results *results)