summary refs log tree commit diff
path: root/src/portab/strlcpy.c
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-12-27 17:14:14 +0100
committerAlexander Barton <alex@barton.de>2011-02-13 17:52:38 +0100
commit03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c (patch)
tree1f6d99b8ecbfaa2775737928109d6344dc133359 /src/portab/strlcpy.c
parent408cefd15d4540d340283cdfbfad62a8e432cf8e (diff)
downloadngircd-03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c.tar.gz
ngircd-03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c.zip
Add Doxygen @file documentation to each source and header file
Diffstat (limited to 'src/portab/strlcpy.c')
-rw-r--r--src/portab/strlcpy.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/portab/strlcpy.c b/src/portab/strlcpy.c
index ee93d1d6..ae2018bc 100644
--- a/src/portab/strlcpy.c
+++ b/src/portab/strlcpy.c
@@ -7,8 +7,14 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
+ */
+
+#include "portab.h"
+
+/**
+ * @file
  * strlcpy() and strlcat() replacement functions.
+ *
  * See <http://www.openbsd.org/papers/strlcpy-paper.ps> for details.
  *
  * Code partially borrowed from compat.c of rsync, written by Andrew
@@ -16,11 +22,6 @@
  * <http://cvs.samba.org/cgi-bin/cvsweb/rsync/lib/compat.c>
  */
 
-
-#include "portab.h"
-
-static char UNUSED id[] = "$Id: strlcpy.c,v 1.5 2005/03/19 18:43:50 fw Exp $";
-
 #include "imp.h"
 #include <string.h>
 #include <sys/types.h>