Re: [RFC v0 02/11] device: Use btd_service to represent profiles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mikel,

On Tue, Mar 19, 2013, Mikel Astiz wrote:
> +static gint service_profile_cmp(gconstpointer a, gconstpointer b)
> +{
> +	struct btd_service *service = (gpointer) a;
> +	struct btd_profile *profile = (gpointer) b;

Instead of this explicit casting why not declare the local variables
const too?

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux