applied something similiar to Jukkas patch
1716159e
1 file(s) · +3 −3
| 42 | 42 | static Window win; |
|
| 43 | 43 | ||
| 44 | 44 | static void |
|
| 45 | - | calcoffsets() { |
|
| 45 | + | calcoffsets(void) { |
|
| 46 | 46 | unsigned int tw, w; |
|
| 47 | 47 | ||
| 48 | 48 | if(!curr) |
|
| 70 | 70 | } |
|
| 71 | 71 | ||
| 72 | 72 | static void |
|
| 73 | - | drawmenu() { |
|
| 73 | + | drawmenu(void) { |
|
| 74 | 74 | Item *i; |
|
| 75 | 75 | ||
| 76 | 76 | dc.x = 0; |
|
| 247 | 247 | } |
|
| 248 | 248 | ||
| 249 | 249 | static char * |
|
| 250 | - | readstdin() { |
|
| 250 | + | readstdin(void) { |
|
| 251 | 251 | static char *maxname = NULL; |
|
| 252 | 252 | char *p, buf[1024]; |
|
| 253 | 253 | unsigned int len = 0, max = 0; |
|