Rev 4359 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4359 | Rev 4501 | ||
---|---|---|---|
Line 259... | Line 259... | ||
259 | * list_is_empty(&bar->list_of_foos); |
259 | * list_is_empty(&bar->list_of_foos); |
260 | * |
260 | * |
261 | * @return True if the list contains one or more elements or False otherwise. |
261 | * @return True if the list contains one or more elements or False otherwise. |
262 | */ |
262 | */ |
263 | static inline bool |
263 | static inline bool |
264 | list_is_empty(struct list *head) |
264 | list_is_empty(const struct list *head) |
265 | { |
265 | { |
266 | return head->next == head; |
266 | return head->next == head; |
267 | } |
267 | } |
Line 268... | Line 268... | ||
268 | 268 |