EMILE/libscsi/scsi_close.c
2006-09-15 14:55:39 +00:00

18 lines
209 B
C

/*
*
* (c) 2005 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdlib.h>
#include "libscsi.h"
int scsi_close(scsi_device_t *device)
{
if (device == NULL)
return -1;
free(device);
return 0;
}