Removal of some pointless callback parameters in the spandsp AT command

interpreter, and fixes for my congential inability to reliably spell psuedo,
er, pseudo, er, whatever.
This commit is contained in:
Steve Underwood
2014-01-16 00:47:29 +08:00
parent f4a4ba1716
commit f7a407feca
11 changed files with 76 additions and 68 deletions

View File

@@ -478,7 +478,7 @@ static int general_test(at_state_t *s)
}
/*- End of function --------------------------------------------------------*/
static int modem_call_control(at_state_t *s, void *user_data, int op, const char *num)
static int modem_call_control(void *user_data, int op, const char *num)
{
switch (op)
{
@@ -534,7 +534,7 @@ static int modem_call_control(at_state_t *s, void *user_data, int op, const char
}
/*- End of function --------------------------------------------------------*/
static int at_tx_handler(at_state_t *s, void *user_data, const uint8_t *buf, size_t len)
static int at_tx_handler(void *user_data, const uint8_t *buf, size_t len)
{
int i;