Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/md/mdXhl.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/md/mdXhl.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/lib/libc/md/mdXhl.c 2003/07/26 19:24:47 1.6 +++ src/lib/libc/md/mdXhl.c 2005/09/26 03:01:41 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: mdXhl.c,v 1.6 2003/07/26 19:24:47 salo Exp $ */ +/* $NetBSD: mdXhl.c,v 1.7 2005/09/26 03:01:41 christos Exp $ */ /* * ---------------------------------------------------------------------------- @@ -12,11 +12,25 @@ */ /* - * Modifed April 29, 1997 by Jason R. Thorpe + * Modified April 29, 1997 by Jason R. Thorpe */ +#define CONCAT(x,y) __CONCAT(x,y) +#define MDNAME(x) CONCAT(MDALGORITHM,x) + +#if !defined(_KERNEL) && defined(__weak_alias) +#define WA(a,b) __weak_alias(a,b) +WA(MDNAME(End),CONCAT(_,MDNAME(End))) +WA(MDNAME(File),CONCAT(_,MDNAME(File))) +WA(MDNAME(Data),CONCAT(_,MDNAME(Data))) +#undef WA +#endif + +#include "namespace.h" + #include +#include MDINCLUDE #include #include #include @@ -24,8 +38,11 @@ #include #include -#define CONCAT(x,y) __CONCAT(x,y) -#define MDNAME(x) CONCAT(MDALGORITHM,x) +#if HAVE_NBTOOL_CONFIG_H +#include "nbtool_config.h" +#endif + + char * MDNAME(End)(ctx, buf)