aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-04 20:19:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:03:06 -0700
commitb7f9dc314cdc3aa5df26920e979f2c472f02d8ca (patch)
tree961e95025675b9889fc7842be2d325e269a6f2b9
parent032f492af0ac27772a09c54f56a7ef2a8e06c1a0 (diff)
downloadsparse-dev-b7f9dc314cdc3aa5df26920e979f2c472f02d8ca.tar.gz
Fix silly "first_basic_block()" typo
Noticed by Chris Li.
-rw-r--r--lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.h b/lib.h
index 2bfbbb88..173d6d3c 100644
--- a/lib.h
+++ b/lib.h
@@ -224,7 +224,7 @@ static inline void * current_iterator(struct list_iterator *iterator)
static inline struct basic_block *first_basic_block(struct basic_block_list *head)
{
- return last_ptr_list((struct ptr_list *)head);
+ return first_ptr_list((struct ptr_list *)head);
}
static inline struct instruction *last_instruction(struct instruction_list *head)
{