On Thu, Mar 3, 2011 at 2:21 PM, Marcel Holtmann <mar...@holtmann.org> wrote: > Hi Lucas, > >> struct gps_data { >> GAtChat *chat; >> - GAtChat *data_chat; >> + >> + struct { >> + GIOChannel *channel; >> + guint idle_source; >> + gsize written; >> + ofono_location_reporting_enable_cb_t cb; >> + void *cb_data; >> + } stream; >> }; > > why do you bother with the struct in struct here?
Just to group these related fields. regards, Lucas De Marchi _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono