diff -r 4f223f3df05a -r 2548ca639b1f master/sdo_entry.h --- a/master/sdo_entry.h Wed Jun 11 15:29:47 2008 +0000 +++ b/master/sdo_entry.h Wed Jun 11 15:37:38 2008 +0000 @@ -56,7 +56,6 @@ /** CANopen Sdo entry. */ typedef struct { - struct kobject kobj; /**< kobject */ struct list_head list; /**< List item. */ ec_sdo_t *sdo; /**< Parent Sdo. */ uint8_t subindex; /**< Subindex. */ @@ -67,8 +66,8 @@ /*****************************************************************************/ -int ec_sdo_entry_init(ec_sdo_entry_t *, uint8_t, ec_sdo_t *); -void ec_sdo_entry_destroy(ec_sdo_entry_t *); +void ec_sdo_entry_init(ec_sdo_entry_t *, ec_sdo_t *, uint8_t); +void ec_sdo_entry_clear(ec_sdo_entry_t *); /*****************************************************************************/