diff --git a/lib/lwres/include/lwres/lwres.h b/lib/lwres/include/lwres/lwres.h index 76342eeeda..71992f8d1b 100644 --- a/lib/lwres/include/lwres/lwres.h +++ b/lib/lwres/include/lwres/lwres.h @@ -236,15 +236,13 @@ lwres_contextcreate(lwres_context_t **contextp, void *arg, * * contextp != NULL && contextp == NULL. * - * - * * Returns: * * Returns 0 on success, non-zero on failure. */ void -lwres_contextfree(lwres_context_t **contextp); +lwres_freecontext(lwres_context_t **contextp); /* * Frees all memory associated with a lwres context. * diff --git a/lib/lwres/lwres.c b/lib/lwres/lwres.c index 3fc3dab381..b64501bb84 100644 --- a/lib/lwres/lwres.c +++ b/lib/lwres/lwres.c @@ -84,7 +84,7 @@ lwres_contextcreate(lwres_context_t **contextp, void *arg, } void -lwres_contextfree(lwres_context_t **contextp) +lwres_freecontext(lwres_context_t **contextp) { lwres_context_t *context;