From 12b88f0269587bcf68a3f772a3f288aff64f937b Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 17 Oct 2002 11:36:39 +0000 Subject: [PATCH] Fix lint error. --- lib/libc/gen/dirname.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/dirname.c b/lib/libc/gen/dirname.c index 0fb84eb5ce8e..07c54f63a58f 100644 --- a/lib/libc/gen/dirname.c +++ b/lib/libc/gen/dirname.c @@ -1,4 +1,4 @@ -/* $NetBSD: dirname.c,v 1.6 2002/10/17 02:06:04 thorpej Exp $ */ +/* $NetBSD: dirname.c,v 1.7 2002/10/17 11:36:39 tron Exp $ */ /*- * Copyright (c) 1997, 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: dirname.c,v 1.6 2002/10/17 02:06:04 thorpej Exp $"); +__RCSID("$NetBSD: dirname.c,v 1.7 2002/10/17 11:36:39 tron Exp $"); #endif /* !LIBC_SCCS && !lint */ #include "namespace.h" @@ -57,7 +57,7 @@ dirname(path) { static char singledot[] = "."; static char result[PATH_MAX]; - char *p, *lastp; + char *lastp; size_t len; /*