summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Anselm R. Garbe 2006-09-12 10:59:00 +0200
committerGravatar Anselm R. Garbe 2006-09-12 10:59:00 +0200
commit81bcf078f6c510314f140471efb8952160fdb3ad (patch)
tree2a85bc526dd9787a0e25be779263903e6f855768 /main.c
parentcommented dmenu (diff)
made function signatures more consistent to my coding style
Diffstat (limited to '')
-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;
024-09-25Update README.mdGravatar Lance Borden 1-0/+3 2024-09-23fixed lua api exit status issueGravatar BanceDev 1-1/+1 2024-09-23fixed splitting within quoted stringGravatar BanceDev 1-5/+10 2024-09-23made and operator actually conditionalGravatar BanceDev 2-17/+27 2024-09-23fixed operator chaining to handle commands terminating with an operatorGravatar BanceDev 1-14/+5 2024-09-23implemented background process operatorGravatar BanceDev 6-154/+238 2024-09-23implemented piping into new chaining methodGravatar BanceDev 1-10/+30 2024-09-18fixed && chaining for builtinsGravatar BanceDev 2-23/+31 2024-09-18added basic && chainingGravatar BanceDev 2-8/+73 2024-09-17changed tokenizer to handle all the chaining operatorsGravatar BanceDev 3-20/+78 2024-09-17Update README.mdGravatar Lance Borden 1-0/+1 2024-09-13added better clarification to help menuGravatar BanceDev 1-1/+2 2024-09-13improved installation instructionsGravatar BanceDev 1-3/+3 2024-09-12v0.1.1Gravatar BanceDev 1-1/+1 2024-09-12fixed bug in input buffer handling due to misplaced printGravatar BanceDev 2-5/+8 2024-09-12Update build.yml checkout v4Gravatar Lance Borden 1-1/+1 2024-09-12Update build.yml to artifact v4Gravatar Lance Borden 1-1/+1 2024-09-12fixed exit status issue with non interative modeGravatar BanceDev 1-1/+1 2024-09-12added non interative mode for running lua scriptsGravatar BanceDev 2-4/+28 2024-09-12temporary github action fix until non-interactive mode is implementedGravatar BanceDev 1-2/+2 2024-09-12attempt to update build script to accept input into lush shellGravatar BanceDev 2-4/+6 2024-09-12prevent lush workflow from getting stuck in testsGravatar Lance Borden 1-1/+4 2024-09-12removed chsh in workflowGravatar Lance Borden 1-4/+1