Re: [PATCH v7 2/6] proximity: reporter: save global D-Bus connection

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

 



Hi Arik,

On Mon, Apr 02, 2012, Arik Nemtsov wrote:
> --- a/proximity/reporter.c
> +++ b/proximity/reporter.c
> @@ -40,6 +40,7 @@
>  #include "attrib-server.h"
>  #include "reporter.h"
>  
> +static DBusConnection *connection;
>  #define IMMEDIATE_ALERT_SVC_UUID	0x1802
>  #define LINK_LOSS_SVC_UUID		0x1803
>  #define TX_POWER_SVC_UUID		0x1804

Please move the new static variable after the defines and the enum.
Thats's usually where we place them (right before the actual functions
start).

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