diff options
| author | christos <christos@NetBSD.org> | 2001-02-04 21:59:52 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2001-02-04 21:59:52 +0000 |
| commit | b42a153d41f37bf1b4e2aeb7e4c27cab842ee45d (patch) | |
| tree | 8e30132bd1d2a52293c5f756d25d325cff09a410 /libexec/comsat | |
| parent | 180360ac44174f9de97a532e08621211e65be73f (diff) | |
fix nested extern
Diffstat (limited to 'libexec/comsat')
| -rw-r--r-- | libexec/comsat/comsat.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libexec/comsat/comsat.c b/libexec/comsat/comsat.c index 980cbd32ad3..793df19db2b 100644 --- a/libexec/comsat/comsat.c +++ b/libexec/comsat/comsat.c @@ -1,4 +1,4 @@ -/* $NetBSD: comsat.c,v 1.17 2000/10/04 18:52:50 mjl Exp $ */ +/* $NetBSD: comsat.c,v 1.18 2001/02/04 21:59:52 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "from: @(#)comsat.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: comsat.c,v 1.17 2000/10/04 18:52:50 mjl Exp $"); +__RCSID("$NetBSD: comsat.c,v 1.18 2001/02/04 21:59:52 christos Exp $"); #endif #endif /* not lint */ @@ -85,6 +85,8 @@ void notify (struct utmp *, off_t); void onalrm (int); void reapchildren (int); +extern char *__progname; + int main(int argc, char *argv[]) { @@ -93,7 +95,6 @@ main(int argc, char *argv[]) int fromlen; char msgbuf[100]; sigset_t sigset; - extern char *__progname; /* verify proper invocation */ fromlen = sizeof(from); @@ -110,7 +111,7 @@ main(int argc, char *argv[]) logging = 1; break; default: - syslog(LOG_ERR, "usage: %s [-l]", __progname); + syslog(LOG_ERR, "Usage: %s [-l]", __progname); exit(1); } if (chdir(_PATH_MAILDIR)) { |
