From 4251f1e5222db9fa49bfc859a1f887dd5f5fe93f Mon Sep 17 00:00:00 2001 From: Jef Driesen Date: Tue, 28 Aug 2012 07:54:19 +0200 Subject: [PATCH] Update the dummy IrDA backend for Mac OS X. I forgot to update the dummy IrDA backend with the latest changes. The error, init and cleanup functions have been removed, and the irda_socket_open function now takes a context pointer. --- src/irda_dummy.c | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/src/irda_dummy.c b/src/irda_dummy.c index 6db2fbd..504aee8 100644 --- a/src/irda_dummy.c +++ b/src/irda_dummy.c @@ -23,36 +23,9 @@ #include "irda.h" -int -irda_errcode (void) -{ - return 0; -} - - -const char * -irda_errmsg (void) -{ - return NULL; -} - int -irda_init (void) -{ - return -1; -} - - -int -irda_cleanup (void) -{ - return -1; -} - - -int -irda_socket_open (irda_t **out) +irda_socket_open (irda_t **out, dc_context_t *context) { return -1; }