Kill of most of the remainder of minadbd.
I think everything left now is here to stay (services.c might get
massaged in to libadbd if it gets refactored).
Bug: 17626262
Change-Id: I01faf8b277a601a40e3a0f4c3b8206c97f1d2ce6
diff --git a/minadbd/adb_main.c b/minadbd/adb_main.c
index 66d2702..a62881d 100644
--- a/minadbd/adb_main.c
+++ b/minadbd/adb_main.c
@@ -24,10 +24,12 @@
#include "adb.h"
#include "sysdeps.h"
-int adb_main()
+int adb_main(int is_daemon, int server_port)
{
atexit(usb_cleanup);
+ adb_device_banner = "sideload";
+
// No SIGCHLD. Let the service subproc handle its children.
signal(SIGPIPE, SIG_IGN);