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
bdd5abdb
Commit
bdd5abdb
authored
May 06, 2012
by
Alejandro Mery
Browse files
script: rename script_section_append() to script_section_new()
parent
1d0c2f15
Changes
2
Hide whitespace changes
Inline
Side-by-side
script.c
View file @
bdd5abdb
...
...
@@ -52,8 +52,8 @@ void script_delete(struct script *script)
/*
*/
struct
script_section
*
script_section_
append
(
struct
script
*
script
,
const
char
*
name
)
struct
script_section
*
script_section_
new
(
struct
script
*
script
,
const
char
*
name
)
{
struct
script_section
*
section
;
...
...
script.h
View file @
bdd5abdb
...
...
@@ -81,8 +81,8 @@ struct script *script_new(void);
void
script_delete
(
struct
script
*
);
/** create a new section appended to a given tree */
struct
script_section
*
script_section_
append
(
struct
script
*
script
,
const
char
*
name
);
struct
script_section
*
script_section_
new
(
struct
script
*
script
,
const
char
*
name
);
/** deletes a section recursvely and removes it from the script */
void
script_section_delete
(
struct
script_section
*
section
);
...
...
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