Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make add noreturn attribute to the functions that ne...
details: https://anonhg.NetBSD.org/src/rev/51ec7337ce87
branches: trunk
changeset: 499973:51ec7337ce87
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 03 02:18:14 2000 +0000
description:
add noreturn attribute to the functions that need it.
diffstat:
usr.bin/make/nonints.h | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (28 lines):
diff -r 1617a09af6b3 -r 51ec7337ce87 usr.bin/make/nonints.h
--- a/usr.bin/make/nonints.h Sun Dec 03 02:07:04 2000 +0000
+++ b/usr.bin/make/nonints.h Sun Dec 03 02:18:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nonints.h,v 1.19 2000/10/11 14:46:12 is Exp $ */
+/* $NetBSD: nonints.h,v 1.20 2000/12/03 02:18:14 christos Exp $ */
/*-
* Copyright (c) 1988, 1989, 1990, 1993
@@ -68,10 +68,14 @@
void Main_ParseArgLine __P((char *));
int main __P((int, char **));
char *Cmd_Exec __P((char *, char **));
-void Error __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
-void Fatal __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
-void Punt __P((char *, ...)) __attribute__((__format__(__printf__, 1, 2)));
-void DieHorribly __P((void));
+void Error __P((char *, ...))
+ __attribute__((__format__(__printf__, 1, 2)));
+void Fatal __P((char *, ...))
+ __attribute__((__format__(__printf__, 1, 2),__noreturn__));
+void Punt __P((char *, ...))
+ __attribute__((__format__(__printf__, 1, 2),__noreturn__));
+void DieHorribly __P((void))
+ __attribute__((__noreturn__));
int PrintAddr __P((ClientData, ClientData));
void Finish __P((int));
char *estrdup __P((const char *));
Home |
Main Index |
Thread Index |
Old Index