Commit 777ebca3 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

options.c: show_usage etc. aren't used elsewhere

parent 8818bf0e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -100,8 +100,6 @@ enum slide_change { SLIDE_NEXT, SLIDE_PREV, SLIDE_RAND, SLIDE_FIRST, SLIDE_LAST,

typedef void (*sighandler_t) (int);

void show_usage(void);
void show_version(void);
int feh_main_iteration(int block);
void feh_handle_event(XEvent * ev);
void init_imlib_fonts(void);
+6 −3
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -132,7 +132,6 @@ struct __fehoptions {

void init_parse_options(int argc, char **argv);
char *feh_string_normalize(char *str);
void feh_create_default_config(char *rcfile);

extern fehoptions opt;