summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src/link.c')
-rw-r--r--cpukit/libcsupport/src/link.c21
1 files changed, 13 insertions, 8 deletions
diff --git a/cpukit/libcsupport/src/link.c b/cpukit/libcsupport/src/link.c
index f49cca2302..7ec103c15c 100644
--- a/cpukit/libcsupport/src/link.c
+++ b/cpukit/libcsupport/src/link.c
@@ -1,6 +1,11 @@
-/*
- * link() - POSIX 1003.1b - 5.3.4 - Create a new link
+/**
+ * @file
*
+ * @brief Create a new link
+ * @ingroup libcsupport
+ */
+
+/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).
*
@@ -17,6 +22,9 @@
#include <rtems/libio_.h>
+/**
+ * link() - POSIX 1003.1b - 5.3.4 - Create a new link
+ */
int link( const char *path1, const char *path2 )
{
int rv = 0;
@@ -50,16 +58,13 @@ int link( const char *path1, const char *path2 )
return rv;
}
-/*
- * _link_r
- *
- * This is the Newlib dependent reentrant version of link().
- */
-
#if defined(RTEMS_NEWLIB)
#include <reent.h>
+/**
+ * This is the Newlib dependent reentrant version of link().
+ */
int _link_r(
struct _reent *ptr __attribute__((unused)),
const char *path1,