From aa6bc77638a4c1f7b7b4f4e2e8e9aabc716fda65 Mon Sep 17 00:00:00 2001 From: David Reveman Date: Wed, 15 Aug 2007 15:29:38 -0400 Subject: Fix optionTypeToString prototype. --- include/compiz.h | 2 +- src/option.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/compiz.h b/include/compiz.h index a5913e34..9ac7540f 100644 --- a/include/compiz.h +++ b/include/compiz.h @@ -551,7 +551,7 @@ stringToColor (const char *color, char * colorToString (unsigned short *rgba); -char * +const char * optionTypeToString (CompOptionType type); Bool diff --git a/src/option.c b/src/option.c index 004441c9..729b3771 100644 --- a/src/option.c +++ b/src/option.c @@ -926,7 +926,7 @@ colorToString (unsigned short *rgba) return strdup (tmp); } -char * +const char * optionTypeToString (CompOptionType type) { switch (type) { -- cgit v1.2.3