diff options
| author | Alexander Barton <alex@barton.de> | 2010-12-27 17:14:14 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2011-02-13 17:52:38 +0100 |
| commit | 03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c (patch) | |
| tree | 1f6d99b8ecbfaa2775737928109d6344dc133359 /src/portab/strdup.c | |
| parent | 408cefd15d4540d340283cdfbfad62a8e432cf8e (diff) | |
| download | ngircd-03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c.tar.gz ngircd-03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c.zip | |
Add Doxygen @file documentation to each source and header file
Diffstat (limited to 'src/portab/strdup.c')
| -rw-r--r-- | src/portab/strdup.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/portab/strdup.c b/src/portab/strdup.c index e7351570..7c0ee8fd 100644 --- a/src/portab/strdup.c +++ b/src/portab/strdup.c @@ -1,13 +1,16 @@ /* * ngIRCd -- The Next Generation IRC Daemon - * - * strdup() implementation. Public domain. - * - * $Id: strdup.c,v 1.1 2005/04/16 09:20:53 fw Exp $ */ #include "portab.h" +/** + * @file + * strdup() implementation. Public domain. + */ + +#ifndef HAVE_STRDUP + #include "imp.h" #include <string.h> #include <stdlib.h> @@ -15,8 +18,6 @@ #include "exp.h" -#ifndef HAVE_STRDUP - GLOBAL char * strdup( const char *s ) { |