aboutsummaryrefslogtreecommitdiff
path: root/net/minidlna/files/scandir-patch
blob: eb3e8963d9861755c830c3cdc4bd5d716bbc45d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- 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
-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
-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
-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
-filter_media(const struct dirent *d)
+filter_media(struct dirent *d)
 {
 	return ( (*d->d_name != '.') &&
 	         ((d->d_type == DT_DIR) ||