diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2020-03-06 20:29:45 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2020-03-06 20:29:45 +0000 |
commit | 9664a8ac76802ff1c6700c1e748b38b3de9baef1 (patch) | |
tree | 4542b1a98a0dd50790004d9f46cb0b69a39ac7d2 /frontends/amiga/os3support.c | |
parent | 962431dd3df0062e5762165eb69dfc23608c8aad (diff) | |
download | netsurf-9664a8ac76802ff1c6700c1e748b38b3de9baef1.tar.gz netsurf-9664a8ac76802ff1c6700c1e748b38b3de9baef1.tar.bz2 |
Mod os3support files so file.c builds
Diffstat (limited to 'frontends/amiga/os3support.c')
-rw-r--r-- | frontends/amiga/os3support.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontends/amiga/os3support.c b/frontends/amiga/os3support.c index 645496b73..98843c702 100644 --- a/frontends/amiga/os3support.c +++ b/frontends/amiga/os3support.c @@ -28,7 +28,6 @@ #include <stdio.h> #include <stdlib.h> #include <ctype.h> -#include <dirent.h> #include <proto/bullet.h> #include <proto/exec.h> @@ -182,6 +181,12 @@ char *strsep(char **s1, const char *s2) return p1; } +int alphasort(const struct dirent **d1, const struct dirent **d2) +{ + /*\todo stub function, needs writing, preferably into clib2 */ + return 0; +} + int scandir(const char *dir, struct dirent ***namelist, int (*filter)(const struct dirent *), int (*compar)(const struct dirent **, const struct dirent **)) |