diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-10 23:05:17 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-10 23:41:21 +0100 |
commit | 3c1a65109fd464ffad489e6c63e4c53441ddf9bf (patch) | |
tree | 5834891116f542d470c4dbd0c42d585e652807c5 | |
parent | 922137f64ae3f923cad45c1fa4af9502ed84e1a9 (diff) | |
download | yawa-3c1a65109fd464ffad489e6c63e4c53441ddf9bf.tar.xz |
yawa.h: Move argp variables to yawa.c
-rw-r--r-- | src/yawa.c | 4 | ||||
-rw-r--r-- | src/yawa.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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}; @@ -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; |