Fixed compiler warnings
This commit is contained in:
parent
22cb35e9f6
commit
5e7cbff22a
6 changed files with 31 additions and 13 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: profile-aggregates.c,v 1.1 2007/10/23 20:39:07 adamdunkels Exp $
|
||||
* $Id: profile-aggregates.c,v 1.2 2007/11/17 10:14:19 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -87,6 +87,7 @@ find_aggregate_category(const uint16_t cat)
|
|||
return &aggregates[aggregates_list_ptr++];
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#if DETAILED_AGGREGATES
|
||||
static struct aggregate *
|
||||
find_aggregate(const unsigned char *ptr)
|
||||
{
|
||||
|
@ -102,6 +103,7 @@ find_aggregate(const unsigned char *ptr)
|
|||
|
||||
return &aggregates[aggregates_list_ptr++];
|
||||
}
|
||||
#endif /* DETAILED_AGGREGATES */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
profile_aggregates_print(void)
|
||||
|
@ -130,6 +132,7 @@ profile_aggregates_print(void)
|
|||
sizeof(struct aggregate) * aggregates_list_ptr);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#if DETAILED_AGGREGATES
|
||||
static void
|
||||
detailed_profile_aggregates_compute(void)
|
||||
{
|
||||
|
@ -167,6 +170,7 @@ detailed_profile_aggregates_compute(void)
|
|||
|
||||
/* print_aggregates();*/
|
||||
}
|
||||
#endif /* DETAILED_AGGREGATES */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
category_profile_aggregates_compute(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue