aboutsummaryrefslogtreecommitdiffstats
path: root/ports/darwin
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2012-12-12 15:53:05 -0600
committerPeter Seebach <peter.seebach@windriver.com>2012-12-12 15:53:05 -0600
commit8b1afe44d92379eb9d01c783b9a396925dcc9193 (patch)
tree2c9b102f1bc1e6b3ed4116d198d80992f77d9af5 /ports/darwin
parent874bea3c664161c2297d5d5f4f93408330e005f5 (diff)
downloadpseudo-8b1afe44d92379eb9d01c783b9a396925dcc9193.tar.gz
pseudo-8b1afe44d92379eb9d01c783b9a396925dcc9193.tar.bz2
pseudo-8b1afe44d92379eb9d01c783b9a396925dcc9193.zip
bitrot and linkat() fixes for Darwin.SEEBS_TESTING
Diffstat (limited to 'ports/darwin')
-rw-r--r--ports/darwin/wrapfuncs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/darwin/wrapfuncs.in b/ports/darwin/wrapfuncs.in
index 39d9893..5cc4aaf 100644
--- a/ports/darwin/wrapfuncs.in
+++ b/ports/darwin/wrapfuncs.in
@@ -17,7 +17,7 @@ int setxattr(const char *pathname, const char *name, const void *value, size_t s
int fsetxattr(int filedes, const char *name, const void *value, size_t size, u_int32_t position, int options);
# local color UIDs
int getgrouplist(const char *name, int basegid, int *groups, int *ngroups);
-int scandir(const char *path, struct dirent ***namelist, int (*filter)(struct dirent *), int (*compar)());
+int scandir(const char *path, struct dirent ***namelist, int (*filter)(const struct dirent *), int (*compar)());
int getgroups(int size, gid_t *list);
int fgetgrent_r(FILE *fp, struct group *gbuf, char *buf, size_t buflen, struct group **gbufp); /* real_func=pseudo_fgetgrent_r */
int fgetpwent_r(FILE *fp, struct passwd *pbuf, char *buf, size_t buflen, struct passwd **pbufp); /* real_func=pseudo_fgetpwent_r */