EMILE/libfloppy/floppy_close.c
2006-09-15 14:55:39 +00:00

18 lines
215 B
C

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