From f92dc9c439611036e0f9f9bfd34687dfb5dadcd0 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 10 Dec 2000 03:59:00 +0000 Subject: [PATCH] unnest nested extern declaration. --- lib/libc/gen/assert.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/gen/assert.c b/lib/libc/gen/assert.c index 4ca49af1be95..b757de05aa16 100644 --- a/lib/libc/gen/assert.c +++ b/lib/libc/gen/assert.c @@ -1,4 +1,4 @@ -/* $NetBSD: assert.c,v 1.8 1999/09/15 23:57:21 lukem Exp $ */ +/* $NetBSD: assert.c,v 1.9 2000/12/10 03:59:00 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)assert.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: assert.c,v 1.8 1999/09/15 23:57:21 lukem Exp $"); +__RCSID("$NetBSD: assert.c,v 1.9 2000/12/10 03:59:00 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -49,6 +49,8 @@ __RCSID("$NetBSD: assert.c,v 1.8 1999/09/15 23:57:21 lukem Exp $"); #include #include +extern char *__progname; + void __assert(file, line, failedexpr) const char *file, *failedexpr; @@ -66,8 +68,6 @@ __diagassert(file, line, failedexpr) const char *file, *failedexpr; int line; { - extern char *__progname; - /* * XXX: check $DIAGASSERT here, and do user-defined actions */