Code

main.c: fix compiler warning
[ncmpc.git] / src / screen_help.h
index ba2c57c8ed7691bfabe62d9e49a3b98a2cbc1850..eefeb24d5028a278f148625509cc5d7c9f7826ce 100644 (file)
@@ -1,2 +1,29 @@
+/* ncmpc (Ncurses MPD Client)
+ * (c) 2004-2010 The Music Player Daemon Project
+ * Project homepage: http://musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
 
-screen_functions_t *get_screen_help(void);
+#ifndef NCMPC_SCREEN_HELP_H
+#define NCMPC_SCREEN_HELP_H
+
+#include "config.h"
+
+#ifdef ENABLE_HELP_SCREEN
+extern const struct screen_functions screen_help;
+#endif
+
+#endif