Re-indent everything with indent-2.2.13

This commit is contained in:
Kim Woelders
2024-03-06 17:20:31 +01:00
parent 797ccf08c8
commit 2c090f3721
6 changed files with 27 additions and 27 deletions
+6 -6
View File
@@ -36,7 +36,7 @@ static const unsigned char tn_opt[256] = {
};
static void _telnet_handle_req(tn_ctx_t * tcc, int cmd, int opt)
static void _telnet_handle_req(tn_ctx_t *tcc, int cmd, int opt)
{
char buf[3];
@@ -63,7 +63,7 @@ static void _telnet_handle_req(tn_ctx_t * tcc, int cmd, int opt)
telnet_rfc2217_init(tcc, TNI_ON);
}
void telnet_reply_opt(tn_ctx_t * tcc, int opt, int prm,
void telnet_reply_opt(tn_ctx_t *tcc, int opt, int prm,
const void *val, int len)
{
unsigned char buf[128], *pu = buf;
@@ -94,7 +94,7 @@ void telnet_reply_opt(tn_ctx_t * tcc, int opt, int prm,
tcc->cli_tx(tcc->cctx, buf, len);
}
static void _telnet_handle_opt(tn_ctx_t * tcc, int opt,
static void _telnet_handle_opt(tn_ctx_t *tcc, int opt,
unsigned char *pu, int nd)
{
DBG2_BUF("opti", pu, nd);
@@ -111,7 +111,7 @@ static void _telnet_handle_opt(tn_ctx_t * tcc, int opt,
}
}
int telnet_rx(tn_ctx_t * tcc, char *buf, int *plen)
int telnet_rx(tn_ctx_t *tcc, char *buf, int *plen)
{
char *s, *p;
unsigned char *pu;
@@ -230,7 +230,7 @@ int telnet_rx(tn_ctx_t * tcc, char *buf, int *plen)
return 0;
}
int telnet_tx(tn_ctx_t * tcc, const char *buf, int len)
int telnet_tx(tn_ctx_t *tcc, const char *buf, int len)
{
const char *s, *p;
int rem, nd;
@@ -260,7 +260,7 @@ int telnet_tx(tn_ctx_t * tcc, const char *buf, int len)
return 0;
}
tn_ctx_t *telnet_ctx_init(void *cctx, cli_tx_f * ftx, cli_ss_f * fss)
tn_ctx_t *telnet_ctx_init(void *cctx, cli_tx_f *ftx, cli_ss_f *fss)
{
tn_ctx_t *tcc;