Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/env Add CVS Id tag and switch __attribute__ to __dead.



details:   https://anonhg.NetBSD.org/src/rev/d92dd92ca8d0
branches:  trunk
changeset: 744627:d92dd92ca8d0
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 08 10:36:02 2020 +0000

description:
Add CVS Id tag and switch __attribute__ to __dead.

diffstat:

 usr.bin/env/env.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b891eb2e5492 -r d92dd92ca8d0 usr.bin/env/env.c
--- a/usr.bin/env/env.c Sat Feb 08 10:30:22 2020 +0000
+++ b/usr.bin/env/env.c Sat Feb 08 10:36:02 2020 +0000
@@ -1,3 +1,4 @@
+/*     $NetBSD: env.c,v 1.22 2020/02/08 10:36:02 kamil Exp $   */
 /*
  * Copyright (c) 1988, 1993, 1994
  *     The Regents of the University of California.  All rights reserved.
@@ -35,7 +36,7 @@
 
 #ifndef lint
 /*static char sccsid[] = "@(#)env.c    8.3 (Berkeley) 4/2/94";*/
-__RCSID("$NetBSD: env.c,v 1.21 2020/02/08 10:30:22 kamil Exp $");
+__RCSID("$NetBSD: env.c,v 1.22 2020/02/08 10:36:02 kamil Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -46,7 +47,7 @@
 #include <locale.h>
 #include <errno.h>
 
-static void usage(void) __attribute__((__noreturn__));
+static void usage(void) __dead;
 
 extern char **environ;
 



Home | Main Index | Thread Index | Old Index