Allow this FreeBSD7-only patch to apply before or after patch-warnings.

Notified by:	pav@
This commit is contained in:
Mikhail Teterin 2012-05-09 21:34:02 +00:00
parent a45272a39e
commit c95a05ca22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296321

View file

@ -1,36 +1,24 @@
--- scanner.c 17 Nov 2009 19:13:00 -0000 1.53
+++ scanner.c 9 Jan 2010 13:19:49 -0000
@@ -629,7 +633,7 @@
}
static int
@@ -632,4 +636,4 @@
-filter_audio(const struct dirent *d)
+filter_audio(struct dirent *d)
{
return ( (*d->d_name != '.') &&
((d->d_type == DT_DIR) ||
@@ -641,7 +645,7 @@
}
static int
@@ -644,4 +648,4 @@
-filter_video(const struct dirent *d)
+filter_video(struct dirent *d)
{
return ( (*d->d_name != '.') &&
((d->d_type == DT_DIR) ||
@@ -653,7 +657,7 @@
}
static int
@@ -656,4 +660,4 @@
-filter_images(const struct dirent *d)
+filter_images(struct dirent *d)
{
return ( (*d->d_name != '.') &&
((d->d_type == DT_DIR) ||
@@ -665,7 +669,7 @@
}
static int
@@ -668,4 +672,4 @@
-filter_media(const struct dirent *d)
+filter_media(struct dirent *d)
{