fix nested extern
This commit is contained in:
parent
ffa8eefe34
commit
8f3b31ba6f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: apropos.c,v 1.14 1998/11/06 22:29:44 christos Exp $ */
|
||||
/* $NetBSD: apropos.c,v 1.15 2001/02/05 01:21:00 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1987, 1993, 1994
|
||||
|
@ -44,7 +44,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993, 1994\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: apropos.c,v 1.14 1998/11/06 22:29:44 christos Exp $");
|
||||
__RCSID("$NetBSD: apropos.c,v 1.15 2001/02/05 01:21:00 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -73,6 +73,8 @@ void lowstr __P((char *, char *));
|
|||
int match __P((char *, char *));
|
||||
void usage __P((void));
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
|
@ -239,9 +241,6 @@ lowstr(from, to)
|
|||
void
|
||||
usage()
|
||||
{
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
(void)fprintf(stderr,
|
||||
"Usage: %s [-C file] [-M path] [-m path] keyword ...\n",
|
||||
__progname);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ctl.c,v 1.24 2000/12/22 11:38:42 mrg Exp $ */
|
||||
/* $NetBSD: ctl.c,v 1.25 2001/02/05 01:22:22 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
|
@ -155,6 +155,8 @@ static struct {
|
|||
{ 0 }
|
||||
};
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
struct field *
|
||||
findfield(name)
|
||||
char *name;
|
||||
|
@ -347,7 +349,6 @@ main(argc, argv)
|
|||
struct stat dstat, ostat;
|
||||
const char *file;
|
||||
char *sep = "=";
|
||||
extern char *__progname;
|
||||
|
||||
file = getenv("AUDIOCTLDEVICE");
|
||||
if (file == 0)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: play.c,v 1.20 2001/01/19 14:11:56 mrg Exp $ */
|
||||
/* $NetBSD: play.c,v 1.21 2001/02/05 01:23:24 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Matthew R. Green
|
||||
|
@ -68,6 +68,8 @@ size_t bufsize;
|
|||
int audiofd, ctlfd;
|
||||
int exitstatus = EXIT_SUCCESS;
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
|
@ -408,8 +410,6 @@ set_audio_mode:
|
|||
void
|
||||
usage()
|
||||
{
|
||||
extern char *__progname;
|
||||
|
||||
fprintf(stderr, "Usage: %s [-hiqV] [options] files\n", __progname);
|
||||
fprintf(stderr, "Options:\n\t"
|
||||
"-C audio control device\n\t"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: record.c,v 1.12 2000/12/22 11:38:43 mrg Exp $ */
|
||||
/* $NetBSD: record.c,v 1.13 2001/02/05 01:24:34 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Matthew R. Green
|
||||
|
@ -77,6 +77,8 @@ void cleanup (int) __attribute__((__noreturn__));
|
|||
void write_header (void);
|
||||
void rewrite_header (void);
|
||||
|
||||
extern char *__progname;
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
|
@ -371,8 +373,6 @@ rewrite_header()
|
|||
void
|
||||
usage()
|
||||
{
|
||||
extern char *__progname;
|
||||
|
||||
fprintf(stderr, "Usage: %s [-afhqV] [options] {files ...|-}\n", __progname);
|
||||
fprintf(stderr, "Options:\n\t"
|
||||
"-C audio control device\n\t"
|
||||
|
|
Loading…
Reference in New Issue