Commit f3c1ea5a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(restart_kom): Tell gcc 2.7 (or newer) that restart_kom never returns.

parent 67fcc68e
/*
* $Id: lyskomd.h,v 0.10 1994/04/05 08:02:10 ceder Exp $
* $Id: lyskomd.h,v 0.11 1995/09/05 19:21:14 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -22,10 +22,11 @@
*
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: lyskomd.h,v 0.10 1994/04/05 08:02:10 ceder Exp $
*/
#ifndef LYSKOMD_H_INCLUDED
#define LYSKOMD_H_INCLUDED
#include "compiler.h"
/*
* restart_kom is used to try to recover from an impossible error.
......@@ -38,8 +39,10 @@
#if defined(HAVE_VFPRINTF) && defined(HAVE_STDARG_H)
extern void
restart_kom(const char * format, ...);
restart_kom(const char * format, ...) NORETURN;
#else
extern void
restart_kom();
restart_kom() NORETURN;
#endif
#endif /* LYSKOMD_H_INCLUDED */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment