diff options
author | Neil Brown <neilb@suse.de> | 2007-05-08 09:12:33 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-05-08 09:12:33 +0200 |
commit | 8e22992203e25ae0b7bdf41cf2c53b11024d64cc (patch) | |
tree | ce2e70fe487fe736e9b8996897f910bf604f6486 /util.c | |
parent | Release 2.6.1 (diff) | |
download | mdadm-8e22992203e25ae0b7bdf41cf2c53b11024d64cc.tar.xz mdadm-8e22992203e25ae0b7bdf41cf2c53b11024d64cc.zip |
Remove bogus add_dev definition.
If nether ftw nor nftw are available, add_dev gets defined twice.
Fix that...
Diffstat (limited to '')
-rw-r--r-- | util.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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; |