From: Iain Hibbert <[email protected]>
---
obexftp/bt_kit.c | 4 ++--
obexftp/bt_kit.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/obexftp/bt_kit.c b/obexftp/bt_kit.c
index db48161..41aa224 100644
--- a/obexftp/bt_kit.c
+++ b/obexftp/bt_kit.c
@@ -78,7 +78,7 @@
\note Needed for win32 winsock compatibility.
*/
-int btkit_init()
+int btkit_init(void)
{
#ifdef _WIN32
WORD wVersionRequired = MAKEWORD(WSA_VER_MAJOR,WSA_VER_MINOR);
@@ -103,7 +103,7 @@ int btkit_init()
\note Needed for win32 winsock compatibility.
*/
-int btkit_exit()
+int btkit_exit(void)
{
#ifdef _WIN32
if (WSACleanup() != 0) {
diff --git a/obexftp/bt_kit.h b/obexftp/bt_kit.h
index ed73cb5..154c73b 100644
--- a/obexftp/bt_kit.h
+++ b/obexftp/bt_kit.h
@@ -113,8 +113,8 @@ BTKITSYM int str2ba(const char *straddr, BTH_ADDR *btaddr);
/* library setup/teardown functions (needed for win32) */
-BTKITSYM int btkit_init();
-BTKITSYM int btkit_exit();
+BTKITSYM int btkit_init(void);
+BTKITSYM int btkit_exit(void);
/* additional functions */
--
1.7.4.1
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users