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/gen/fnmatch.c,v retrieving revision 1.11 retrieving revision 1.11.4.1 diff -u -p -r1.11 -r1.11.4.1 --- src/lib/libc/gen/fnmatch.c 1995/02/27 03:43:06 1.11 +++ src/lib/libc/gen/fnmatch.c 1996/09/19 20:02:33 1.11.4.1 @@ -1,4 +1,4 @@ -/* $NetBSD: fnmatch.c,v 1.11 1995/02/27 03:43:06 cgd Exp $ */ +/* $NetBSD: fnmatch.c,v 1.11.4.1 1996/09/19 20:02:33 jtc Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)fnmatch.c 8.2 (Berkeley) 4/16/94"; #else -static char rcsid[] = "$NetBSD: fnmatch.c,v 1.11 1995/02/27 03:43:06 cgd Exp $"; +static char rcsid[] = "$NetBSD: fnmatch.c,v 1.11.4.1 1996/09/19 20:02:33 jtc Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -49,9 +49,14 @@ static char rcsid[] = "$NetBSD: fnmatch. * Compares a filename or pathname to a pattern. */ +#include "namespace.h" #include #include +#ifdef __weak_alias +__weak_alias(fnmatch,_fnmatch); +#endif + #define EOS '\0' static const char *rangematch __P((const char *, int, int));