Some hack to prevent gcc warnings. This could be solved by separate file, but...

This commit is contained in:
Sanel Zukan
2011-10-21 15:50:43 +00:00
parent 46cb6110b7
commit af906eb737
2 changed files with 5 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ struct KnownApp {
#define KNOWN_APP_END {0, 0}
/* to allow inclusion from single place, without issuing gcc warnings */
#if KNOWN_APP_PREDEFINED
static KnownApp app_browsers[] = {
{"Mozilla Firefox", "firefox"},
{"Mozilla Seamonkey", "seamonkey"},
@@ -40,5 +42,6 @@ static KnownApp app_terminals[] = {
{"Xfce Terminal", "xfterm4"},
KNOWN_APP_END
};
#endif
#endif