summaryrefslogtreecommitdiff
path: root/newlib/libc/syscalls/syslink.c
blob: 6abe184ea2c3bbc876a01eef44674226e0bb92e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* connector for link */

#include <reent.h>

int
link (old, new)
     char *old;
     char *new;
{
#ifdef REENTRANT_SYSCALLS_PROVIDED
  return _link_r (_REENT, old, new);
#else
  return _link (old, new);
#endif
}