Blame src/die.h

Packit Service fdd496
/* Report an error and exit.
Packit Service fdd496
   Copyright 2016-2017 Free Software Foundation, Inc.
Packit Service fdd496
Packit Service fdd496
   This program is free software; you can redistribute it and/or modify
Packit Service fdd496
   it under the terms of the GNU General Public License as published by
Packit Service fdd496
   the Free Software Foundation; either version 3, or (at your option)
Packit Service fdd496
   any later version.
Packit Service fdd496
Packit Service fdd496
   This program is distributed in the hope that it will be useful,
Packit Service fdd496
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service fdd496
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service fdd496
   GNU General Public License for more details.
Packit Service fdd496
Packit Service fdd496
   You should have received a copy of the GNU General Public License
Packit Service fdd496
   along with this program; if not, write to the Free Software
Packit Service fdd496
   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
Packit Service fdd496
   02110-1301, USA.  */
Packit Service fdd496
Packit Service fdd496
#ifndef DIE_H
Packit Service fdd496
# define DIE_H
Packit Service fdd496
Packit Service fdd496
# include <error.h>
Packit Service fdd496
# include <stdbool.h>
Packit Service fdd496
# include <verify.h>
Packit Service fdd496
Packit Service fdd496
/* Like 'error (STATUS, ...)', except STATUS must be a nonzero constant.
Packit Service fdd496
   This may pacify the compiler or help it generate better code.  */
Packit Service fdd496
# define die(status, ...) \
Packit Service fdd496
  verify_expr (status, (error (status, __VA_ARGS__), assume (false)))
Packit Service fdd496
Packit Service fdd496
#endif /* DIE_H */