diff options
| author | 2002-11-18 15:30:52 +0000 | |
|---|---|---|
| committer | 2002-11-18 15:30:52 +0000 | |
| commit | 45112de2253ab0d489ec7a45d3ba1e9cc123b2ab (patch) | |
| tree | 683c92dbe8fb9dcfd4e70186548a14ac848d27e2 /src/raw1394.h | |
| parent | merged rawiso branch (diff) | |
fix cplusplus extern C block
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | src/raw1394.h | 8 |
1 files 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) |
