applied something similiar to Jukkas patch

This commit is contained in:
arg@mmvi 2006-09-25 08:29:20 +02:00
parent 11b6401668
commit 1716159e05

6
main.c
View File

@ -42,7 +42,7 @@ static Window root;
static Window win; static Window win;
static void static void
calcoffsets() { calcoffsets(void) {
unsigned int tw, w; unsigned int tw, w;
if(!curr) if(!curr)
@ -70,7 +70,7 @@ calcoffsets() {
} }
static void static void
drawmenu() { drawmenu(void) {
Item *i; Item *i;
dc.x = 0; dc.x = 0;
@ -247,7 +247,7 @@ kpress(XKeyEvent * e) {
} }
static char * static char *
readstdin() { readstdin(void) {
static char *maxname = NULL; static char *maxname = NULL;
char *p, buf[1024]; char *p, buf[1024];
unsigned int len = 0, max = 0; unsigned int len = 0, max = 0;