diff --git a/src/list.c b/src/list.c index 50809e3..e90dea9 100644 --- a/src/list.c +++ b/src/list.c @@ -99,7 +99,7 @@ void destroy_node(struct list *l, struct list_node *node) int is_empty_list(const struct list *l) { - return (l->count == 0 ? TRUE : FALSE); + return l->count == 0; } int get_list_count(const struct list *l) diff --git a/src/list.h b/src/list.h index 9f35ef5..323972a 100644 --- a/src/list.h +++ b/src/list.h @@ -23,11 +23,6 @@ #define __LIST__ -#ifndef TRUE -#define TRUE 1 -#define FALSE 0 -#endif - struct list_node { /* pointer to the content of the node */