aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-10 21:59:58 +0200
committerMattias Andrée <maandree@kth.se>2016-07-10 21:59:58 +0200
commite7d0bd2a9e3cc99c13edd25bf95b61fdc65b850d (patch)
tree51a595c1d620dbe53feb148adbad43ec87721ac6 /src
parentWork on marshalling (diff)
downloadcoopgammad-e7d0bd2a9e3cc99c13edd25bf95b61fdc65b850d.tar.gz
coopgammad-e7d0bd2a9e3cc99c13edd25bf95b61fdc65b850d.tar.bz2
coopgammad-e7d0bd2a9e3cc99c13edd25bf95b61fdc65b850d.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/gammad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gammad.c b/src/gammad.c
index fca9079..5d4ecbd 100644
--- a/src/gammad.c
+++ b/src/gammad.c
@@ -40,7 +40,7 @@ char* argv0;
* @param crtc libgamma's state for the CRTC
* @return The name of the CRTC, `NULL` on error
*/
-static char* getname(libgamma_crtc_information_t* info, libgamma_crtc_state_t* crtc)
+static char* get_name(libgamma_crtc_information_t* info, libgamma_crtc_state_t* crtc)
{
if ((info->edid_error == 0) && (info->edid != NULL))
return libgamma_behex_edid(info->edid, info->edid_length);
@@ -125,7 +125,7 @@ int main(int argc, char** argv)
outputs[i].green_size == 0 ||
outputs[i].blue_size == 0)
outputs[i].supported = 0;
- outputs[i].name = getname(&info, crtcs + i);
+ outputs[i].name = get_name(&info, crtcs + i);
saved_errno = errno;
outputs[i].crtc = crtcs + i;
libgamma_crtc_information_destroy(&info);