summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-12 10:59:00 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-12 10:59:00 +0200
commit81bcf078f6c510314f140471efb8952160fdb3ad (patch)
tree2a85bc526dd9787a0e25be779263903e6f855768 /main.c
parent0e5f467aa85e318ed27fc5d6d3826426a06ef3c3 (diff)
made function signatures more consistent to my coding style
Diffstat (limited to 'main.c')
-rw-r--r--main.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/main.c b/main.c
index 03c8b1f..60567b2 100644
--- a/main.c
+++ b/main.c
@@ -42,8 +42,7 @@ static Window root;
static Window win;
static void
-calcoffsets()
-{
+calcoffsets() {
unsigned int tw, w;
if(!curr)
@@ -71,8 +70,7 @@ calcoffsets()
}
static void
-drawmenu()
-{
+drawmenu() {
Item *i;
dc.x = 0;
@@ -110,8 +108,7 @@ drawmenu()
}
static void
-match(char *pattern)
-{
+match(char *pattern) {
unsigned int plen;
Item *i, *j;
@@ -151,8 +148,7 @@ match(char *pattern)
}
static void
-kpress(XKeyEvent * e)
-{
+kpress(XKeyEvent * e) {
char buf[32];
int num, prev_nitem;
unsigned int i, len;
@@ -251,8 +247,7 @@ kpress(XKeyEvent * e)
}
static char *
-readstdin()
-{
+readstdin() {
static char *maxname = NULL;
char *p, buf[1024];
unsigned int len = 0, max = 0;
@@ -289,8 +284,7 @@ Display *dpy;
DC dc = {0};
int
-main(int argc, char *argv[])
-{
+main(int argc, char *argv[]) {
char *maxname;
fd_set rd;
struct timeval timeout;