From 3c1a65109fd464ffad489e6c63e4c53441ddf9bf Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 10 Nov 2014 23:05:17 +0100 Subject: yawa.h: Move argp variables to yawa.c --- src/yawa.c | 4 ++++ src/yawa.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/yawa.c b/src/yawa.c index d585465..e3eb793 100644 --- a/src/yawa.c +++ b/src/yawa.c @@ -142,6 +142,10 @@ parse_opt (int key, char *arg, struct argp_state *state) return 0; } +static char doc[] = "yawa -- Yet Another Wallpaper Application"; +const char *argp_program_version = PACKAGE_STRING; +const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; + /* The ARGP structure itself. */ static struct argp argp = {options, parse_opt, "", doc, NULL, NULL, 0}; diff --git a/src/yawa.h b/src/yawa.h index 297512c..8c86fe0 100644 --- a/src/yawa.h +++ b/src/yawa.h @@ -19,10 +19,6 @@ int set_root_atoms(Pixmap pixmap); int load_image(ImageMode mode, const char *arg, int rootW, int rootH, int alpha, Imlib_Image rootimg); -static char doc[] = "yawa -- Yet Another Wallpaper Application"; -const char *argp_program_version = PACKAGE_STRING; -const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; - static int num_add_colors; struct arguments { char *image; -- cgit v1.2.3-54-g00ecf