equal
deleted
inserted
replaced
59 |
59 |
60 /** Pdo copy constructor. |
60 /** Pdo copy constructor. |
61 */ |
61 */ |
62 int ec_pdo_init_copy(ec_pdo_t *pdo, const ec_pdo_t *other_pdo) |
62 int ec_pdo_init_copy(ec_pdo_t *pdo, const ec_pdo_t *other_pdo) |
63 { |
63 { |
64 pdo->dir = other_pdo->dir; |
|
65 pdo->index = other_pdo->index; |
64 pdo->index = other_pdo->index; |
66 pdo->sync_index = other_pdo->sync_index; |
65 pdo->sync_index = other_pdo->sync_index; |
67 pdo->name = NULL; |
66 pdo->name = NULL; |
68 INIT_LIST_HEAD(&pdo->entries); |
67 INIT_LIST_HEAD(&pdo->entries); |
69 |
68 |