X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gui_theme.c;h=803e2ec0fb10ca7f9a2cfdaed15206378e36b06d;hp=5976a0e73f1072d963ca5c325a8f2299b5b25fff;hb=3367017659e639aa8925ff4c607f1d41d24e657e;hpb=7a115f007020abedf07ab71ef17d0d07df1a55f8 diff --git a/gui_theme.c b/gui_theme.c index 5976a0e7..803e2ec0 100644 --- a/gui_theme.c +++ b/gui_theme.c @@ -1,10 +1,9 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2012 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); } -