From 45112de2253ab0d489ec7a45d3ba1e9cc123b2ab Mon Sep 17 00:00:00 2001 From: ddennedy Date: Mon, 18 Nov 2002 15:30:52 +0000 Subject: [PATCH] fix cplusplus extern C block git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab --- src/raw1394.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/raw1394.h b/src/raw1394.h index 4c317bc..42dfe21 100644 --- a/src/raw1394.h +++ b/src/raw1394.h @@ -68,6 +68,10 @@ enum raw1394_iso_disposition { RAW1394_ISO_ERROR = 2, }; +#ifdef __cplusplus +extern "C" { +#endif + typedef int (*raw1394_iso_xmit_handler_t)(raw1394handle_t, unsigned char *data, unsigned int *len, @@ -107,10 +111,6 @@ int raw1394_iso_recv_start(raw1394handle_t handle, int start_on_cycle); void raw1394_iso_stop(raw1394handle_t handle); void raw1394_iso_shutdown(raw1394handle_t handle); -#ifdef __cplusplus -extern "C" { -#endif - typedef int raw1394_errcode_t; #define raw1394_make_errcode(ack, rcode) (((ack) << 16) | rcode) #define raw1394_internal_err(errcode) ((errcode) < 0)