Browse Source

sfdir selection function, updated definition

richarddobson 3 months ago
parent
commit
d760e4c01a
1 changed files with 2 additions and 7 deletions
  1. 2 7
      dev/newsfsys/sfdir.c

+ 2 - 7
dev/newsfsys/sfdir.c

@@ -46,13 +46,8 @@
 #include "scandir.h"
 #endif
 
-#if defined WIN32 || defined linux
-static int
-selfn(const struct dirent *d)
-#else
-    static int
-    selfn(struct dirent *d)
-#endif
+
+static int selfn(const struct dirent *d)
 {
     char *dotp = strrchr(d->d_name, '.');