diff --git a/script.c b/script.c index bf07b57..38ebb35 100644 --- a/script.c +++ b/script.c @@ -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; diff --git a/script.h b/script.h index 6e59211..fe2950c 100644 --- a/script.h +++ b/script.h @@ -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);