mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: Make use of __noreturn macro
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
154734efc7
commit
86856f98db
@@ -11,6 +11,8 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "libc.h"
|
||||
#include "sclp.h"
|
||||
@@ -383,7 +385,7 @@ void initialize(void)
|
||||
/*
|
||||
* Load disabled wait PSW with reason code in address field
|
||||
*/
|
||||
void libc_stop(unsigned long reason)
|
||||
void __noreturn libc_stop(unsigned long reason)
|
||||
{
|
||||
struct psw_t psw;
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ char *strcpy(char *, const char *);
|
||||
unsigned long get_zeroed_page(void);
|
||||
void free_page(unsigned long);
|
||||
void initialize(void);
|
||||
void libc_stop(unsigned long) __attribute__((noreturn));
|
||||
void libc_stop(unsigned long);
|
||||
void start(void);
|
||||
void pgm_check_handler(void);
|
||||
void pgm_check_handler_fn(void);
|
||||
|
||||
Reference in New Issue
Block a user