X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gui_theme.c;h=fa63e90972fa7b3b70ec9b2fec53adf098a3e107;hp=5976a0e73f1072d963ca5c325a8f2299b5b25fff;hb=42ddd68159d7eff0f3e7c225665c97f9abd59425;hpb=7a115f007020abedf07ab71ef17d0d07df1a55f8 diff --git a/gui_theme.c b/gui_theme.c index 5976a0e7..fa63e909 100644 --- a/gui_theme.c +++ b/gui_theme.c @@ -1,10 +1,9 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ -#include #include "para.h" #include "gui.h" #include @@ -362,7 +361,7 @@ struct theme_description { void (*init)(struct gui_theme *t); }; -struct theme_description themes[] = { +static struct theme_description themes[] = { { .name = "colorful blackness", .init = init_theme_colorful_blackness, @@ -377,7 +376,7 @@ struct theme_description themes[] = { static int current_theme_num; -void set_theme(int num, struct gui_theme *t) +static void set_theme(int num, struct gui_theme *t) { int i; FOR_EACH_STATUS_ITEM(i) @@ -412,4 +411,3 @@ void next_theme(struct gui_theme *t) { return set_theme(--current_theme_num, t); } -