aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-25 08:29:20 +0200
committerarg@mmvi <unknown>2006-09-25 08:29:20 +0200
commit1716159e05e712962c3a4c60091f6cd6b573461f (patch)
treebd11f54ccf6b0dd5615fe96a8bc5bbc8cab99311 /main.c
parent11b64016687f01e6498b7d1433ae334adf473804 (diff)
downloaddmenu-1716159e05e712962c3a4c60091f6cd6b573461f.tar.gz
dmenu-1716159e05e712962c3a4c60091f6cd6b573461f.tar.bz2
dmenu-1716159e05e712962c3a4c60091f6cd6b573461f.zip
applied something similiar to Jukkas patch
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 60567b2..3203014 100644
--- a/main.c
+++ b/main.c
@@ -42,7 +42,7 @@ static Window root;
static Window win;
static void
-calcoffsets() {
+calcoffsets(void) {
unsigned int tw, w;
if(!curr)
@@ -70,7 +70,7 @@ calcoffsets() {
}
static void
-drawmenu() {
+drawmenu(void) {
Item *i;
dc.x = 0;
@@ -247,7 +247,7 @@ kpress(XKeyEvent * e) {
}
static char *
-readstdin() {
+readstdin(void) {
static char *maxname = NULL;
char *p, buf[1024];
unsigned int len = 0, max = 0;