view lib/file-set.h @ 11639:b2e769838448

hash: fix memory leak in last patch * lib/hash.c (hash_rehash): Avoid memory leak. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 18 Jun 2009 15:24:38 -0600
parents b7de93942166
children e8d2c6fc33ad
line wrap: on
line source

#include <sys/types.h>
#include <sys/stat.h>
#include <stdbool.h>

#include "hash.h"

extern void record_file (Hash_table *ht, char const *file,
			 struct stat const *stats)
  __attribute__((nonnull(2, 3)));

extern bool seen_file (Hash_table const *ht, char const *file,
		       struct stat const *stats);