EMILE/libscsi/scsi_close.c

18 lines
206 B
C
Raw Permalink Normal View History

2005-11-21 21:57:27 +00:00
/*
*
* (c) 2005 Laurent Vivier <Laurent@Vivier.EU>
2005-11-21 21:57:27 +00:00
*
*/
2005-11-21 21:55:36 +00:00
#include <stdlib.h>
#include "libscsi.h"
int scsi_close(scsi_device_t *device)
{
if (device == NULL)
return -1;
free(device);
return 0;
}