linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] hcid doesn't compile without --enable-dbus
@ 2006-04-21 21:58 Albert Huang
  2006-04-22  0:35 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Huang @ 2006-04-21 21:58 UTC (permalink / raw)
  To: BlueZ Mailing List


[-- Attachment #1.1: Type: text/plain, Size: 397 bytes --]

I get the following error when trying to compile utils from CVS without
--enable-dbus

security.c: In function 'disconn_complete':
security.c:614: warning: passing argument 2 of 'hcid_dbus_disconn_complete'
makes pointer from integer without a cast
security.c:614: error: too many arguments to function
'hcid_dbus_disconn_complete'

Attached patch appears to fix it.

Regards,
albert

[-- Attachment #1.2: Type: text/html, Size: 430 bytes --]

[-- Attachment #2: hcid-nodbus-disconn-complete.patch.txt --]
[-- Type: text/plain, Size: 1094 bytes --]

Index: hcid/hcid.h
===================================================================
RCS file: /cvsroot/bluez/utils/hcid/hcid.h,v
retrieving revision 1.57
diff -u -r1.57 hcid.h
--- hcid/hcid.h	29 Mar 2006 12:12:25 -0000	1.57
+++ hcid/hcid.h	21 Apr 2006 21:26:14 -0000
@@ -128,7 +128,7 @@
 static inline void hcid_dbus_inquiry_result(bdaddr_t *local, bdaddr_t *peer, uint32_t class, int8_t rssi) {}
 static inline void hcid_dbus_remote_name(bdaddr_t *local, bdaddr_t *peer, uint8_t status, char *name) {}
 static inline void hcid_dbus_conn_complete(bdaddr_t *local, uint8_t status, uint16_t handle, bdaddr_t *peer) {}
-static inline void hcid_dbus_disconn_complete(bdaddr_t *local, bdaddr_t *peer, uint8_t reason) {}
+static inline void hcid_dbus_disconn_complete(bdaddr_t *local, bdaddr_t *peer, uint16_t handle, uint8_t reason) {}
 static inline void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, const uint8_t status) {}
 static inline void hcid_dbus_create_conn_cancel(bdaddr_t *local, void *ptr) {}
 static inline void hcid_dbus_setname_complete(bdaddr_t *local) {}

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] hcid doesn't compile without --enable-dbus
  2006-04-21 21:58 [Bluez-devel] hcid doesn't compile without --enable-dbus Albert Huang
@ 2006-04-22  0:35 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-04-22  0:35 UTC (permalink / raw)
  To: bluez-devel

Hi Albert,

> I get the following error when trying to compile utils from CVS
> without --enable-dbus
> 
> security.c: In function 'disconn_complete':
> security.c:614: warning: passing argument 2 of
> 'hcid_dbus_disconn_complete' makes pointer from integer without a cast
> security.c:614: error: too many arguments to function
> 'hcid_dbus_disconn_complete' 
> 
> Attached patch appears to fix it.

the patch has been applied. Thanks.

Regards

Marcel




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-22  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21 21:58 [Bluez-devel] hcid doesn't compile without --enable-dbus Albert Huang
2006-04-22  0:35 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).