From bdd5abdbe1a4d91cde236d7e40a25a7c0ed3fb2b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 6 May 2012 16:04:03 +0200 Subject: [PATCH] script: rename script_section_append() to script_section_new() --- script.c | 4 ++-- script.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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);