aboutsummaryrefslogtreecommitdiff
path: root/src/ctemplates.h
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 21:41:40 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 21:41:40 -0400
commit4d2b28bf1b5c63519513f8abc4695e06728739d1 (patch)
treea361a56349937343b512ad011a0dca513da8c833 /src/ctemplates.h
parentd1a1990c4177653fd2379c227142e6208ecfc20d (diff)
downloadlibctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.gz
libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.bz2
libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.zip
Squashed warnings
Added the -Wextra flag to the makefile for debug builds, and squashed all the warning that came up.
Diffstat (limited to 'src/ctemplates.h')
-rw-r--r--src/ctemplates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ctemplates.h b/src/ctemplates.h
index da56b97..91762a8 100644
--- a/src/ctemplates.h
+++ b/src/ctemplates.h
@@ -160,7 +160,7 @@ void TMPL_free_varlist(struct TMPL_varlist* t);
struct TMPL_varitem* TMPL_alloc_varitem(void);
void TMPL_free_varitem(struct TMPL_varitem* vi);
-struct TMPL_templates* TMPL_alloc_template(const char* t);
+int TMPL_alloc_template(const char* tmplstr, struct TMPL_templates **t);
void TMPL_free_template(struct TMPL_templates* t);
struct TMPL_loop* TMPL_alloc_loop(void);