aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/libgamma-method.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-28 15:18:38 +0200
commit9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5 (patch)
tree32386de8407b95650998dfbbf1350094d2663711 /src/lib/libgamma-method.c
parentm doc (diff)
downloadlibgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.gz
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.bz2
libgamma-9ccc965782253ea4847ed784b9c6cb5c5b1f8ef5.tar.xz
ramps => ramps16
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/libgamma-method.c')
-rw-r--r--src/lib/libgamma-method.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libgamma-method.c b/src/lib/libgamma-method.c
index d51415d..7311de4 100644
--- a/src/lib/libgamma-method.c
+++ b/src/lib/libgamma-method.c
@@ -34,7 +34,7 @@
* @param this The gamma ramps.
* @return Zero on success, -1 on allocation error, `errno` will be set accordingly.
*/
-int libgamma_gamma_ramps_initialise(libgamma_gamma_ramps_t* restrict this)
+int libgamma_gamma_ramps16_initialise(libgamma_gamma_ramps16_t* restrict this)
{
size_t n = this->red_size + this->green_size + this->blue_size;
#ifdef HAVE_LIBGAMMA_METHOD_LINUX_DRM
@@ -56,7 +56,7 @@ int libgamma_gamma_ramps_initialise(libgamma_gamma_ramps_t* restrict this)
*
* @param this The gamma ramps.
*/
-void libgamma_gamma_ramps_destroy(libgamma_gamma_ramps_t* restrict this)
+void libgamma_gamma_ramps16_destroy(libgamma_gamma_ramps16_t* restrict this)
{
free(this->red);
}
@@ -70,7 +70,7 @@ void libgamma_gamma_ramps_destroy(libgamma_gamma_ramps_t* restrict this)
*
* @param this The gamma ramps.
*/
-void libgamma_gamma_ramps_free(libgamma_gamma_ramps_t* restrict this)
+void libgamma_gamma_ramps16_free(libgamma_gamma_ramps16_t* restrict this)
{
free(this->red);
free(this);