Skip to content

Commit

Permalink
Merge pull request #63 from mehlis/master
Browse files Browse the repository at this point in the history
fix missing includes
  • Loading branch information
OlegHahm committed Jun 30, 2013
2 parents bf85e49 + 9549c29 commit 2ada147
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions core/include/queue.h
Expand Up @@ -26,5 +26,8 @@ void queue_priority_add(queue_node_t *root, queue_node_t *new_obj);
void queue_priority_add_generic(queue_node_t *root, queue_node_t *new_obj, int(*cmp)(queue_node_t *, queue_node_t *)) ;
void queue_remove(queue_node_t *root, queue_node_t *node);

void queue_print(queue_node_t *node);
void queue_print_node(queue_node_t *node);

/** @} */
#endif // __QUEUE_H
4 changes: 2 additions & 2 deletions sys/include/vtimer.h
Expand Up @@ -99,11 +99,11 @@ void vtimer_print(vtimer_t *t);
/**
* @brief Prints the vtimer shortterm queue (use for debug purposes)
*/
void vtimer_print_short_queue();
void vtimer_print_short_queue(void);

/**
* @brief Prints the vtimer longterm queue (use for debug purposes)
*/
void vtimer_print_long_queue();
void vtimer_print_long_queue(void);

#endif /* __VTIMER_H */
3 changes: 2 additions & 1 deletion sys/vtimer/vtimer.c
Expand Up @@ -9,6 +9,7 @@
#include <hwtimer.h>
#include <msg.h>
#include <thread.h>
#include <queue.h>

#include <vtimer.h>

Expand Down Expand Up @@ -296,7 +297,7 @@ void vtimer_print_long_queue(){
queue_print(&longterm_queue_root);
}

static void vtimer_print(vtimer_t *t)
void vtimer_print(vtimer_t *t)
{
printf("Seconds: %"PRIu32" - Microseconds: %"PRIu32"\n \
action: %p\n \
Expand Down

0 comments on commit 2ada147

Please sign in to comment.