[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] nmh h/prototypes.h ChangeLog
From: |
Peter Maydell |
Subject: |
[Nmh-commits] nmh h/prototypes.h ChangeLog |
Date: |
Mon, 02 Jun 2008 22:05:11 +0000 |
CVSROOT: /sources/nmh
Module name: nmh
Changes by: Peter Maydell <pm215> 08/06/02 22:05:11
Modified files:
h : prototypes.h
. : ChangeLog
Log message:
Back out previous, completely broken, change (due to a foulup I was
compiling a different tree to the one I was committing to CVS).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/h/prototypes.h?cvsroot=nmh&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/nmh/ChangeLog?cvsroot=nmh&r1=1.273&r2=1.274
Patches:
Index: h/prototypes.h
===================================================================
RCS file: /sources/nmh/nmh/h/prototypes.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- h/prototypes.h 2 Jun 2008 21:49:07 -0000 1.22
+++ h/prototypes.h 2 Jun 2008 22:05:11 -0000 1.23
@@ -2,18 +2,9 @@
/*
* prototypes.h -- various prototypes
*
- * $Id: prototypes.h,v 1.22 2008/06/02 21:49:07 pm215 Exp $
+ * $Id: prototypes.h,v 1.23 2008/06/02 22:05:11 pm215 Exp $
*/
-/* If we're using gcc then give it some information about
- * functions that abort.
- */
-#if __GNUC__ > 2
-#define NORETURN __attribute__((__noreturn__)
-#else
-#define NORETURN
-#endif
-
/*
* missing system prototypes
*/
@@ -34,7 +25,7 @@
/*
* prototypes from the nmh subroutine library
*/
-void adios (char *, char *, ...) NORETURN;
+void adios (char *, char *, ...);
void admonish (char *, char *, ...);
void advertise (char *, char *, char *, va_list);
void advise (char *, char *, ...);
Index: ChangeLog
===================================================================
RCS file: /sources/nmh/nmh/ChangeLog,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -b -r1.273 -r1.274
--- ChangeLog 2 Jun 2008 21:49:07 -0000 1.273
+++ ChangeLog 2 Jun 2008 22:05:11 -0000 1.274
@@ -1,9 +1,3 @@
-2008-06-02 Peter Maydell <address@hidden>
-
- * h/prototypes.h: mark adios() as not returning, so gcc
- can make a better job of avoiding spurious "uninitialized
- variable" warnings.
-
2008-06-01 Peter Maydell <address@hidden>
* docs/README.developers: update the bits about doing a