From e7d0bd2a9e3cc99c13edd25bf95b61fdc65b850d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Jul 2016 21:59:58 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gammad.c | 4 ++-- 1 file 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); -- cgit v1.2.3-70-g09d2