diff options
| author | 2003-07-13 00:49:54 +0000 | |
|---|---|---|
| committer | 2003-07-13 00:49:54 +0000 | |
| commit | 22487936468d60ee02b3f7ad83506dc3a903cb2e (patch) | |
| tree | ae354dc79c825061d4d33c9aa2cc394b4945efe6 /src/iso.c | |
| parent | Updates from 0.10.0 release. (diff) | |
Fix compiler warnings.
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@109 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/iso.c')
| -rw-r--r-- | src/iso.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,6 +16,7 @@ #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> +#include <malloc.h> #include "raw1394.h" #include "kernel-raw1394.h" @@ -116,7 +117,7 @@ static int do_iso_init(raw1394handle_t handle, int irq_interval, int cmd) { - unsigned int bufsize, stride; + unsigned int stride; /* already initialized? */ if(handle->iso_mode != ISO_INACTIVE) @@ -386,7 +387,6 @@ out_produce: if(ioctl(handle->fd, RAW1394_IOC_ISO_XMIT_PACKETS, &packets)) retval = -1; } -out_free: free(packets.infos); out: if(stop_sync) { |
