EMILE/libscsi/scsi_close.c
2005-11-21 21:57:27 +00:00

18 lines
213 B
C

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