X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fserver%2Ftelnet_server.h;h=c45a42363f6afb347074600a5dda271f5a7f656b;hp=d6e92228266c620da9b4d27653f47c99660b4f23;hb=f7cd2aa0ef2939f7d3df5f4a86f5e777a27dbd37;hpb=f2cbaba3cc4af99db7b4f2682c2e0dd4467655e3 diff --git a/src/server/telnet_server.h b/src/server/telnet_server.h index d6e9222826..c45a42363f 100644 --- a/src/server/telnet_server.h +++ b/src/server/telnet_server.h @@ -47,7 +47,7 @@ enum telnet_states TELNET_STATE_ESCAPE, }; -typedef struct telnet_connection_s +struct telnet_connection { char *prompt; enum telnet_states state; @@ -61,7 +61,7 @@ typedef struct telnet_connection_s int next_history; int current_history; int closed; -} telnet_connection_t; +}; struct telnet_service {