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/2d6d425e9626
branches:  trunk
changeset: 848755:2d6d425e9626
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 0e59f1c52636 -r 2d6d425e9626 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