Fix coding style with callback structures

This commit is contained in:
Marcel Holtmann 2010-04-02 19:01:38 -07:00
parent 3c3077f847
commit 9d8e55d489
2 changed files with 12 additions and 12 deletions

View File

@ -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] = {

View File

@ -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)