X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fserver%2Ftcl_server.h;h=6ce3ab95fe42a7198db84847423f659b87b527cc;hb=5202d82a954627c6706529a82447aad4c63aefcc;hp=c90dc8e92b9208ea5fa58b260bbe0e7abf3baada;hpb=655e4f88a6b7fd82a570a17cf1219356f4587a37;p=openocd.git diff --git a/src/server/tcl_server.h b/src/server/tcl_server.h index c90dc8e92b..6ce3ab95fe 100644 --- a/src/server/tcl_server.h +++ b/src/server/tcl_server.h @@ -12,17 +12,16 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef _TCL_SERVER_H_ -#define _TCL_SERVER_H_ +#ifndef OPENOCD_SERVER_TCL_SERVER_H +#define OPENOCD_SERVER_TCL_SERVER_H -#include "server.h" +#include -extern int tcl_init(void); -extern int tcl_register_commands(command_context_t *cmd_ctx); +int tcl_init(void); +int tcl_register_commands(struct command_context *cmd_ctx); +void tcl_service_free(void); -#endif /* _TCL_SERVER_H_ */ +#endif /* OPENOCD_SERVER_TCL_SERVER_H */