diff options
author | sin <sin@2f30.org> | 2014-09-15 16:26:06 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-09-15 16:26:06 +0100 |
commit | 5a530cf98c2cf52cc476bd798ed61d5a1100e1b9 (patch) | |
tree | c428cdb564cf071bf2015f53f055c83159abc4b5 /ratatox.c | |
parent | 12fca982dd5a33192f4b09fb11a8b17286cd5a2b (diff) |
Add arg.h
Diffstat (limited to 'ratatox.c')
-rw-r--r-- | ratatox.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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(); |