diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:30:47 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:30:47 +0100 |
commit | bbbe6ab72284c78c095babd875070aaac8c477dd (patch) | |
tree | 192d0853abe91859ec616a1ca463100da1fa4fc1 /lib/replace/replace.h | |
parent | cdf8f5786387c4764fa790ab5def04dfff8b9af5 (diff) | |
download | samba-bbbe6ab72284c78c095babd875070aaac8c477dd.tar.gz samba-bbbe6ab72284c78c095babd875070aaac8c477dd.tar.bz2 samba-bbbe6ab72284c78c095babd875070aaac8c477dd.zip |
Move sys_link to libreplace.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index 2518d40a65..7d8bbec18f 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -220,6 +220,11 @@ int rep_setegid(gid_t); int rep_chown(const char *path, uid_t uid, gid_t gid); #endif +#ifndef HAVE_LINK +#define link rep_link +int rep_link(const char *oldpath, const char *newpath); +#endif + #ifndef HAVE_SETLINEBUF #define setlinebuf rep_setlinebuf void rep_setlinebuf(FILE *); |