mirror of git://git.sysmocom.de/ofono
Fix coding style with callback structures
This commit is contained in:
parent
3c3077f847
commit
9d8e55d489
|
@ -164,12 +164,12 @@ static void ipcp_option_process(gpointer data, gpointer user)
|
|||
}
|
||||
|
||||
struct pppcp_action ipcp_action = {
|
||||
.this_layer_up = ipcp_up,
|
||||
.this_layer_down = ipcp_down,
|
||||
.this_layer_started = ipcp_started,
|
||||
.this_layer_finished = ipcp_finished,
|
||||
.option_scan = ipcp_option_scan,
|
||||
.option_process = ipcp_option_process,
|
||||
.this_layer_up = ipcp_up,
|
||||
.this_layer_down = ipcp_down,
|
||||
.this_layer_started = ipcp_started,
|
||||
.this_layer_finished = ipcp_finished,
|
||||
.option_scan = ipcp_option_scan,
|
||||
.option_process = ipcp_option_process,
|
||||
};
|
||||
|
||||
static const char *ipcp_option_strings[256] = {
|
||||
|
|
|
@ -171,12 +171,12 @@ static const char *lcp_option_strings[256] = {
|
|||
};
|
||||
|
||||
struct pppcp_action lcp_action = {
|
||||
.this_layer_up = lcp_up,
|
||||
.this_layer_down = lcp_down,
|
||||
.this_layer_started = lcp_started,
|
||||
.this_layer_finished = lcp_finished,
|
||||
.option_scan = lcp_option_scan,
|
||||
.option_process = lcp_option_process,
|
||||
.this_layer_up = lcp_up,
|
||||
.this_layer_down = lcp_down,
|
||||
.this_layer_started = lcp_started,
|
||||
.this_layer_finished = lcp_finished,
|
||||
.option_scan = lcp_option_scan,
|
||||
.option_process = lcp_option_process,
|
||||
};
|
||||
|
||||
void lcp_open(struct pppcp_data *data)
|
||||
|
|
Loading…
Reference in New Issue