Adding icons patch
[xmenu] / xmenu.c
diff --git a/xmenu.c b/xmenu.c
index c314732..abab13d 100644 (file)
--- a/xmenu.c
+++ b/xmenu.c
@@ -73,7 +73,7 @@ static void setupdc(void);
 static void calcgeom(struct Geometry *geom);
 static struct Item *allocitem(const char *label, const char *output);
 static struct Menu *allocmenu(struct Menu *parent, struct Item *list, unsigned level);
 static void calcgeom(struct Geometry *geom);
 static struct Item *allocitem(const char *label, const char *output);
 static struct Menu *allocmenu(struct Menu *parent, struct Item *list, unsigned level);
-static struct Menu * buildmenutree(unsigned level, const char *label, const char *output);
+static struct Menu *buildmenutree(unsigned level, const char *label, const char *output);
 static struct Menu *parsestdin(void);
 static void calcmenu(struct Geometry *geom, struct Menu *menu);
 static void grabpointer(void);
 static struct Menu *parsestdin(void);
 static void calcmenu(struct Geometry *geom, struct Menu *menu);
 static void grabpointer(void);
@@ -90,7 +90,7 @@ static void freemenu(struct Menu *menu);
 static void cleanup(void);
 static void usage(void);
 
 static void cleanup(void);
 static void usage(void);
 
-/* global variables (X stuff and geometries) */
+/* X stuff */
 static Display *dpy;
 static int screen;
 static Visual *visual;
 static Display *dpy;
 static int screen;
 static Visual *visual;