aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_upgrade/file.c')
-rw-r--r--contrib/pg_upgrade/file.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/pg_upgrade/file.c b/contrib/pg_upgrade/file.c
index e5d1613182b..c7b6f5cbfa3 100644
--- a/contrib/pg_upgrade/file.c
+++ b/contrib/pg_upgrade/file.c
@@ -333,22 +333,6 @@ pg_scandir_internal(const char *dirname,
#endif
-/*
- * dir_matching_filenames
- *
- * Return only matching file names during directory scan
- */
-int
-dir_matching_filenames(const struct dirent * scan_ent)
-{
- /* we only compare for string length because the number suffix varies */
- if (!strncmp(scandir_file_pattern, scan_ent->d_name, strlen(scandir_file_pattern)))
- return 1;
-
- return 0;
-}
-
-
void
check_hard_link(void)
{