Code cleanup

This commit is contained in:
Pierre Pronchery 2014-02-20 04:30:12 +01:00
parent 26e508b5c6
commit f574d3abfb

View File

@ -109,7 +109,7 @@ typedef struct _ModemPlugin
} Hayes; } Hayes;
#ifdef DEBUG #ifdef DEBUG
static const char * hayes_command_status[HCS_COUNT] = static const char * _hayes_command_status[HCS_COUNT] =
{ {
"HCS_PENDING", "HCS_QUEUED", "HCS_ACTIVE", "HCS_TIMEOUT", "HCS_ERROR", "HCS_PENDING", "HCS_QUEUED", "HCS_ACTIVE", "HCS_TIMEOUT", "HCS_ERROR",
"HCS_SUCCESS" "HCS_SUCCESS"
@ -2043,7 +2043,7 @@ static HayesCommandStatus _on_reset_callback(HayesCommand * command,
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "DEBUG: %s(%s (%u))\n", __func__, fprintf(stderr, "DEBUG: %s(%s (%u))\n", __func__,
hayes_command_status[status], status); _hayes_command_status[status], status);
#endif #endif
status = _on_request_generic(command, status, hayes); status = _on_request_generic(command, status, hayes);
switch(status) switch(status)