unnest nested extern declaration.
This commit is contained in:
parent
94a9754eeb
commit
f92dc9c439
|
@ -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 <stdlib.h>
|
||||
#include <syslog.h>
|
||||
|
||||
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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue