Remove bogus add_dev definition.

If nether ftw nor nftw are available, add_dev gets defined twice.
Fix that...
This commit is contained in:
Neil Brown 2007-05-08 17:12:33 +10:00
parent e003092c07
commit 8e22992203
1 changed files with 0 additions and 4 deletions

4
util.c
View File

@ -468,10 +468,6 @@ int nftw(const char *path, int (*han)(const char *name, const struct stat *stb,
return ftw(path, add_dev_1, nopenfd);
}
#else
int add_dev(const char *name, const struct stat *stb, int flag, struct FTW *s)
{
return 0;
}
int nftw(const char *path, int (*han)(const char *name, const struct stat *stb, int flag, struct FTW *s), int nopenfd, int flags)
{
return 0;