]> arthur.barton.de Git - ngircd.git/blobdiff - src/portab/strlcpy.c
Code cleanup, remove blank lines
[ngircd.git] / src / portab / strlcpy.c
index ee93d1d6fcfba52a31b550d4e633edfd63ca3e42..ce90a423ad19b7af2158ccad1463db6aa67a1c09 100644 (file)
@@ -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
  * <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>
@@ -51,7 +52,6 @@ strlcat( char *dst, const char *src, size_t size )
 
 #endif
 
-
 #ifndef HAVE_STRLCPY
 
 GLOBAL size_t
@@ -73,5 +73,4 @@ strlcpy( char *dst, const char *src, size_t size )
 
 #endif
 
-
 /* -eof- */