/**********************************************************************
 * luc_free_file.c -- free file containing transaction
 *
 * $Author: brlewis $
 * $Source: /afs/athena.mit.edu/astaff/project/lucydev/src/lib/RCS/luc_free_file.c,v $
 * $Header: /afs/athena.mit.edu/astaff/project/lucydev/src/lib/RCS/luc_free_file.c,v 1.1 91/08/01 14:31:19 brlewis Exp Locker: brlewis $
 *
 * Copyright 1991 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <mit-copyright.h>.
 **********************************************************************/
#include <mit-copyright.h>

#ifndef lint
static char rcsid_luc_free_file_c[] = "$Header: /afs/athena.mit.edu/astaff/project/lucydev/src/lib/RCS/luc_free_file.c,v 1.1 91/08/01 14:31:19 brlewis Exp Locker: brlewis $";
#endif /* lint */

#include <stdio.h>
#include "lucy/memory.h"

/**********************************************************************
 * luc_free_file(char *f)
 *	caller sets f to filename from luc_trn_file();
 *
 * - frees f
 * - XXX Should use finite cache, delete old files if necessary
 * - returns error code
 **********************************************************************/

#if defined(__GNUC__)
inline
#endif
void
luc_free_file(ff)
     char **ff;
{
  free(*ff);
  *ff = NULL;
}
