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
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users