EMILE/libfloppy/floppy_close.c
2005-11-21 21:50:49 +00:00

18 lines
219 B
C

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