summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/files/clib2/stubs.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 02:39:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-29 02:39:59 +0000
commit8913365fda63d1eeab180cca1f308ae36b5f0129 (patch)
treebfb8c54e6d1eb569e9920d8f7674b644b9747a59 /m68k-unknown-amigaos/recipes/files/clib2/stubs.c
parent9005f61de44c0480cd605c3ddf676e0dc3218a08 (diff)
downloadtoolchains-8913365fda63d1eeab180cca1f308ae36b5f0129.tar.gz
toolchains-8913365fda63d1eeab180cca1f308ae36b5f0129.tar.bz2
Add glob.h and a stub implementation thereof
svn path=/toolchains/; revision=11130
Diffstat (limited to 'm68k-unknown-amigaos/recipes/files/clib2/stubs.c')
-rw-r--r--m68k-unknown-amigaos/recipes/files/clib2/stubs.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/files/clib2/stubs.c b/m68k-unknown-amigaos/recipes/files/clib2/stubs.c
index c857aed..d996b9d 100644
--- a/m68k-unknown-amigaos/recipes/files/clib2/stubs.c
+++ b/m68k-unknown-amigaos/recipes/files/clib2/stubs.c
@@ -1,3 +1,4 @@
+#include <glob.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
@@ -25,3 +26,14 @@ int pipe(int pipefd[2])
return -1;
}
+int glob(const char *pattern, int flags,
+ int (*errfunc) (const char *epath, int eerrno),
+ glob_t *pglob)
+{
+ return GLOB_NOMATCH;
+}
+
+void globfree(glob_t *pglob)
+{
+}
+