summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-10 12:25:32 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-10 12:25:32 +0200
commit777ebca319b10ccb33834cd2c1c610819164fbcd (patch)
tree00b633e866d6d7ad43e92f9141bb0e0f4da1dc93 /src/options.c
parent8818bf0e7278f47de0f13d8f0e6a8cceaf5191c8 (diff)
options.c: show_usage etc. aren't used elsewhere
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/options.c b/src/options.c
index e7524f4..be020bf 100644
--- a/src/options.c
+++ b/src/options.c
@@ -28,11 +28,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "options.h"
static void check_options(void);
+static void feh_create_default_config(char *rcfile);
static void feh_parse_option_array(int argc, char **argv);
static void feh_parse_environment_options(void);
static void feh_check_theme_options(int arg, char **argv);
static void feh_parse_options_from_string(char *opts);
static void feh_load_options_for_theme(char *theme);
+static void show_usage(void);
+static void show_version(void);
static char *theme;
fehoptions opt;
@@ -813,7 +816,7 @@ static void check_options(void)
D_RETURN_(4);
}
-void show_version(void)
+static void show_version(void)
{
printf(PACKAGE " version " VERSION "\n");
exit(0);
@@ -826,7 +829,7 @@ void show_mini_usage(void)
exit(1);
}
-void show_usage(void)
+static void show_usage(void)
{
fprintf(stdout,
"Usage : " PACKAGE " [OPTIONS]... FILES...\n"
@@ -1160,7 +1163,7 @@ void show_usage(void)
exit(0);
}
-void feh_create_default_config(char *rcfile)
+static void feh_create_default_config(char *rcfile)
{
FILE *fp;