summaryrefslogtreecommitdiff
path: root/ratatox.c
diff options
context:
space:
mode:
Diffstat (limited to 'ratatox.c')
-rw-r--r--ratatox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ratatox.c b/ratatox.c
index 332b876..ed0b57f 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -17,6 +17,7 @@
#include <tox/tox.h>
+#include "arg.h"
#include "queue.h"
#define LEN(x) (sizeof (x) / sizeof *(x))
@@ -63,6 +64,8 @@ struct request {
TAILQ_ENTRY(request) entry;
};
+char *argv0;
+
static TAILQ_HEAD(friendhead, friend) friendhead = TAILQ_HEAD_INITIALIZER(friendhead);
static TAILQ_HEAD(reqhead, request) reqhead = TAILQ_HEAD_INITIALIZER(reqhead);
@@ -791,7 +794,7 @@ loop(void)
}
int
-main(void)
+main(int argc, char *argv[])
{
printbanner();
toxinit();