From bfad5c0171ebd8c85f1757b36ed333faec30a4a5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 19 Oct 2007 20:36:08 +0000 Subject: [PATCH] Define __dead and __packed. --- tmux.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tmux.h b/tmux.h index fed052b4..f7b945b2 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.61 2007-10-19 11:10:35 nicm Exp $ */ +/* $Id: tmux.h,v 1.62 2007-10-19 20:36:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -33,6 +33,13 @@ extern cc_t ttydefchars[]; extern char *__progname; +#ifndef __dead +#define __dead __attribute__ ((__noreturn__)) +#endif +#ifndef __packed +#define __packed __attribute__ ((__packed__)) +#endif + #define MAXNAMELEN 32 #define MAXTITLELEN 192