stk: Fix style issues

This commit is contained in:
Aki Niemi 2011-02-02 10:55:24 +02:00
parent 0b65fb30b0
commit 7d389054ac
1 changed files with 6 additions and 4 deletions

View File

@ -1148,8 +1148,9 @@ static void request_selection_cb(enum stk_agent_result result, uint8_t id,
switch (result) {
case STK_AGENT_RESULT_OK:
{
static struct ofono_error error =
{ .type = OFONO_ERROR_TYPE_FAILURE };
static struct ofono_error error = {
.type = OFONO_ERROR_TYPE_FAILURE
};
struct stk_response rsp;
memset(&rsp, 0, sizeof(rsp));
@ -2133,8 +2134,9 @@ static void dtmf_sent_cb(int error, void *user_data)
if (error == ENOENT) {
struct stk_response rsp;
static unsigned char not_in_speech_call_result[] = { 0x07 };
static struct ofono_error failure =
{ .type = OFONO_ERROR_TYPE_FAILURE };
static struct ofono_error failure = {
.type = OFONO_ERROR_TYPE_FAILURE
};
memset(&rsp, 0, sizeof(rsp));