Make tap_state_by_name available in new JTAG interface API header.
[fw/openocd] / src / server / tcl_server.c
index 070f933611e3611f5d9d5b443594e620bd4ce451..e146b04f927c364b45a8736929af06ff1d5e9e56 100644 (file)
 #include "config.h"
 #endif
 
-#include <stdarg.h>
 #include "tcl_server.h"
 
-#include "log.h"
-#include "command.h"
-
-#include <stdlib.h>
-#include <unistd.h>
-#include <errno.h>
-#include <string.h>
-#include <ctype.h>
 
 #define TCL_SERVER_VERSION     "TCL Server 0.1"
 #define TCL_MAX_LINE           (4096)
@@ -174,7 +165,7 @@ int tcl_init(void)
 
        if (tcl_port == 0)
        {
-               LOG_WARNING("no tcl port specified, using default port 6666");
+               LOG_DEBUG("no tcl port specified, using default port 6666");
                tcl_port = 6666;
        }