aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-10 23:05:17 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-11-10 23:41:21 +0100
commit3c1a65109fd464ffad489e6c63e4c53441ddf9bf (patch)
tree5834891116f542d470c4dbd0c42d585e652807c5 /src
parent922137f64ae3f923cad45c1fa4af9502ed84e1a9 (diff)
downloadyawa-3c1a65109fd464ffad489e6c63e4c53441ddf9bf.tar.xz
yawa.h: Move argp variables to yawa.c
Diffstat (limited to 'src')
-rw-r--r--src/yawa.c4
-rw-r--r--src/yawa.h4
2 files changed, 4 insertions, 4 deletions
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;