Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
ebacb59a
Commit
ebacb59a
authored
May 04, 2012
by
Alejandro Mery
Browse files
sunxi-tools.h: renamed list_next() to the correct list_first()
parent
8368bee1
Changes
1
Show whitespace changes
Inline
Side-by-side
sunxi-tools.h
View file @
ebacb59a
...
@@ -70,7 +70,7 @@ static inline struct list_entry *list_last(struct list_entry *l)
...
@@ -70,7 +70,7 @@ static inline struct list_entry *list_last(struct list_entry *l)
}
}
/** returns first element of a list */
/** returns first element of a list */
static
inline
struct
list_entry
*
list_
nex
t
(
struct
list_entry
*
l
)
static
inline
struct
list_entry
*
list_
firs
t
(
struct
list_entry
*
l
)
{
{
return
(
l
->
next
==
l
)
?
NULL
:
l
->
next
;
return
(
l
->
next
==
l
)
?
NULL
:
l
->
next
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment