Imported Upstream version 1.6.9p6
[debian/sudo] / fnmatch.c
index 4a9c4d3f9f91747cc698e5fc51a5eefed4720cfb..bacff5d3210c55ab5ab67b4a531dfd0aa2d10b0c 100644 (file)
--- a/fnmatch.c
+++ b/fnmatch.c
  * SUCH DAMAGE.
  */
 
-#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: fnmatch.c,v 1.6 1998/03/19 00:29:59 millert Exp $";
-#endif /* LIBC_SCCS and not lint */
-
 /*
  * Function fnmatch() as specified in POSIX 1003.2-1992, section B.6.
  * Compares a filename or pathname to a pattern.
  */
 
-#include "config.h"
+#include <config.h>
 
 #include <stdio.h>
 #include <ctype.h>
@@ -51,7 +47,7 @@ static char rcsid[] = "$OpenBSD: fnmatch.c,v 1.6 1998/03/19 00:29:59 millert Exp
 # endif
 #endif /* HAVE_STRING_H */
 
-#include "compat.h"
+#include <compat.h>
 #include "emul/fnmatch.h"
 
 #undef EOS
@@ -61,6 +57,10 @@ static char rcsid[] = "$OpenBSD: fnmatch.c,v 1.6 1998/03/19 00:29:59 millert Exp
 #define        RANGE_NOMATCH   0
 #define        RANGE_ERROR     (-1)
 
+#if defined(LIBC_SCCS) && !defined(lint)
+__unused static char rcsid[] = "$OpenBSD: fnmatch.c,v 1.6 1998/03/19 00:29:59 millert Exp $";
+#endif /* LIBC_SCCS and not lint */
+
 static int rangematch __P((const char *, char, int, char **));
 
 int