- (dtucker) [defines.h] Define __dead if not already defined.

This commit is contained in:
Darren Tucker 2004-06-22 13:27:16 +10:00
parent 5e4e272e8d
commit 59bf4a9bd4
2 changed files with 7 additions and 2 deletions

View File

@ -38,6 +38,7 @@
don't show .files by default in ls, add -a option to turn them back on;
ok markus
- (dtucker) [monitor.c] Fix Portable-specific -Wshadow warnings on "socket".
- (dtucker) [defines.h] Define __dead if not already defined.
20040620
- (tim) [configure.ac Makefile.in] Only change TEST_SHELL on broken platforms.
@ -1360,4 +1361,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3428 2004/06/22 03:26:00 dtucker Exp $
$Id: ChangeLog,v 1.3429 2004/06/22 03:27:16 dtucker Exp $

View File

@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
/* $Id: defines.h,v 1.116 2004/06/15 00:34:08 djm Exp $ */
/* $Id: defines.h,v 1.117 2004/06/22 03:27:16 dtucker Exp $ */
/* Constants */
@ -424,6 +424,10 @@ struct winsize {
# define __attribute__(x)
#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
#ifndef __dead
# define __dead __attribute__((noreturn))
#endif
/* *-*-nto-qnx doesn't define this macro in the system headers */
#ifdef MISSING_HOWMANY
# define howmany(x,y) (((x)+((y)-1))/(y))