summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/config.h3
-rw-r--r--sysdep/unix/main.c10
2 files changed, 4 insertions, 9 deletions
diff --git a/sysdep/config.h b/sysdep/config.h
index 4699b4f..08526c8 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -6,6 +6,9 @@
#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_
+/* BIRD version */
+#define BIRD_VERSION "0.0.0"
+
/* Include parameters determined by configure script */
#include "sysdep/autoconf.h"
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index f717fb0..d5ea10b 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -93,12 +93,6 @@ async_config(void)
static sock *cli_sk;
-void
-cli_disconnect(cli *c)
-{
- bug("CLI DISCONNECT: Not implemented"); /* FIXME */
-}
-
int
cli_write(cli *c)
{
@@ -146,7 +140,6 @@ cli_get_command(cli *c)
static int
cli_rx(sock *s, int size)
{
- debug("CLI RX\n");
cli_kick(s->data);
return 0;
}
@@ -156,7 +149,6 @@ cli_tx(sock *s)
{
cli *c = s->data;
- debug("CLI TX\n");
if (cli_write(c))
cli_written(c);
}
@@ -313,7 +305,7 @@ main(int argc, char **argv)
setvbuf(stderr, NULL, _IONBF, 0);
parse_args(argc, argv);
- log(L_INFO "Launching BIRD 0.0.0...");
+ log(L_INFO "Launching BIRD " BIRD_VERSION "...");
debug("Initializing.\n");
resource_init();