aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/yawa.c4
-rw-r--r--src/yawa.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/src/yawa.c b/src/yawa.c
index 269cbce..4b71d1b 100644
--- a/src/yawa.c
+++ b/src/yawa.c
@@ -135,7 +135,7 @@ static int screen;
// Adapted from fluxbox' bsetroot
int
-setRootAtoms (Pixmap pixmap)
+set_root_atoms (Pixmap pixmap)
{
Atom atom_root, atom_eroot, type;
unsigned char *data_root, *data_eroot;
@@ -549,7 +549,7 @@ main (int argc, char **argv)
imlib_free_image();
imlib_free_color_range();
- if (setRootAtoms(pixmap) == 0)
+ if (set_root_atoms(pixmap) == 0)
fprintf(stderr, "Couldn't create atoms...\n");
XKillClient(display, AllTemporary);
diff --git a/src/yawa.h b/src/yawa.h
index 088e585..e2b5d1b 100644
--- a/src/yawa.h
+++ b/src/yawa.h
@@ -10,8 +10,7 @@ typedef struct
typedef enum
{ Full, Fill, Center, Tile } ImageMode;
-int setRootAtoms (Pixmap pixmap);
-int getHex (char c);
+int set_root_atoms (Pixmap pixmap);
int parse_color (char *arg, PColor c, int a);
int load_image (ImageMode mode, const char *arg, int rootW, int rootH, int alpha,
Imlib_Image rootimg);