X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fportab%2Fstrdup.c;fp=src%2Fportab%2Fstrdup.c;h=7c0ee8fd26d34b5746267f0da0f7d73cd9216101;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hp=e735157043084d633e84ff7a9b578bca4e832a12;hpb=408cefd15d4540d340283cdfbfad62a8e432cf8e;p=ngircd-alex.git 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 #include @@ -15,8 +18,6 @@ #include "exp.h" -#ifndef HAVE_STRDUP - GLOBAL char * strdup( const char *s ) {