Remove __attribute__((__noreturn__)) from things already marked __dead
Found by the department of redundancy department.
This commit is contained in:
parent
e2209e397c
commit
970ad9314d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: openfirm.h,v 1.6 2006/01/27 03:07:31 uwe Exp $ */
|
||||
/* $NetBSD: openfirm.h,v 1.7 2007/12/24 15:46:45 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "boot.h"
|
||||
|
||||
__dead void OF_exit(void) __attribute__((noreturn));
|
||||
__dead void OF_exit(void);
|
||||
int OF_finddevice(const char *);
|
||||
int OF_instance_to_package(int);
|
||||
int OF_getprop(int, const char *, void *, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.6 2005/12/11 12:18:29 christos Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.7 2007/12/24 15:46:45 perry Exp $ */
|
||||
/*
|
||||
* Copyright (c) 1998 Darrin Jewell
|
||||
* Copyright (c) 1994 Rolf Grossmann
|
||||
|
@ -86,7 +86,7 @@ putchar(int c)
|
|||
__dead void
|
||||
_rtt(void)
|
||||
{
|
||||
extern __dead void _halt(void) __attribute__((noreturn));
|
||||
extern __dead void _halt(void);
|
||||
|
||||
printf("Press any key to halt.\n");
|
||||
getchar();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: openfirm.h,v 1.5 2005/12/11 12:18:30 christos Exp $ */
|
||||
/* $NetBSD: openfirm.h,v 1.6 2007/12/24 15:46:45 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
|
||||
|
@ -39,8 +39,8 @@
|
|||
|
||||
#include "boot.h"
|
||||
|
||||
__dead void OF_exit(void) __attribute__((noreturn));
|
||||
__dead void OF_boot(char *) __attribute__((noreturn));
|
||||
__dead void OF_exit(void);
|
||||
__dead void OF_boot(char *);
|
||||
int OF_finddevice(char *);
|
||||
int OF_instance_to_package(int);
|
||||
int OF_getprop(int, char *, void *, int);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bsd_openprom.h,v 1.24 2007/03/04 06:00:44 christos Exp $ */
|
||||
/* $NetBSD: bsd_openprom.h,v 1.25 2007/12/24 15:46:45 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -254,7 +254,7 @@ struct promvec {
|
|||
void (*pv_printf)(const char *, ...);
|
||||
void (*pv_abort)(void); /* L1-A abort */
|
||||
int *pv_ticks; /* Ticks since last reset */
|
||||
__dead void (*pv_halt)(void) __attribute__((__noreturn__));/* Halt! */
|
||||
__dead void (*pv_halt)(void); /* Halt! */
|
||||
void (**pv_synchook)(void); /* "sync" command hook */
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: boot_ufs.h,v 1.3 2006/08/04 02:19:55 mhitch Exp $ */
|
||||
/* $NetBSD: boot_ufs.h,v 1.4 2007/12/24 15:46:45 perry Exp $ */
|
||||
|
||||
/***************************************************************
|
||||
*
|
||||
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
|
||||
/* xxboot.S */
|
||||
__dead void BOOT_ERROR __P((const char *msg)) __attribute__((noreturn));
|
||||
__dead void BOOT_ERROR __P((const char *msg));
|
||||
int badbaddr __P((volatile void *adr));
|
||||
#ifdef SCSI_ADHOC_BOOTPART
|
||||
void RAW_READ0 __P((void *buf, u_int32_t blkpos, size_t bytelen));
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* written by Yasha (ITOH Yasufumi)
|
||||
* public domain
|
||||
*
|
||||
* $NetBSD: execkern.h,v 1.2 2002/05/18 13:54:38 isaki Exp $
|
||||
* $NetBSD: execkern.h,v 1.3 2007/12/24 15:46:45 perry Exp $
|
||||
*/
|
||||
|
||||
#ifndef X68K_BOOT_EXECKERN_H
|
||||
|
@ -52,7 +52,7 @@ struct execkern_arg {
|
|||
};
|
||||
|
||||
int xk_load __P((struct execkern_arg *, void *, u_long));
|
||||
void __dead exec_kernel __P((struct execkern_arg *)) __attribute__((noreturn));
|
||||
void __dead exec_kernel __P((struct execkern_arg *));
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* (based on PD libc 1.1.32 by PROJECT C Library)
|
||||
* public domain
|
||||
*
|
||||
* $NetBSD: dos.h,v 1.4 2005/12/11 12:19:45 christos Exp $
|
||||
* $NetBSD: dos.h,v 1.5 2007/12/24 15:46:46 perry Exp $
|
||||
*/
|
||||
/*
|
||||
* PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
|
||||
|
@ -272,7 +272,7 @@ struct dos_prcptr {
|
|||
* super_jsr special for DOS_SUPER_JSR
|
||||
*/
|
||||
|
||||
/* ff00 ; noret */ __dead void DOS_EXIT __P((void)) __attribute__((__noreturn__));
|
||||
/* ff00 ; noret */ __dead void DOS_EXIT __P((void));
|
||||
/* ff01 */ int DOS_GETCHAR __P((void));
|
||||
/* ff02 w */ void DOS_PUTCHAR __P((int));
|
||||
/* ff03 */ int DOS_COMINP __P((void));
|
||||
|
@ -360,7 +360,7 @@ struct dos_prcptr {
|
|||
/* ff2e w */ void DOS_VERIFY __P((int));
|
||||
/* ff2f w w ; e */ int DOS_DUP0 __P((int, int));
|
||||
/* ff30 */ int __pure DOS_VERNUM __P((void));
|
||||
/* ff31 l w ; noret */ __dead void DOS_KEEPPR __P((int, int)) __attribute__((__noreturn__));
|
||||
/* ff31 l w ; noret */ __dead void DOS_KEEPPR __P((int, int));
|
||||
/* ff32 w l ; e */ int DOS_GETDPB __P((int, struct dos_dpbptr *));
|
||||
/* ff33 w */ int DOS_BREAKCK __P((int));
|
||||
/* ff34 w w ; e */ void DOS_DRVXCHG __P((int, int));
|
||||
|
@ -405,7 +405,7 @@ struct dos_prcptr {
|
|||
/* ff4b 5.w l l 0.l ; sv e */ int DOS_BINDNO __P((const char *, const char *));
|
||||
/*^ 0.l is required?? */
|
||||
/* ff4b w l l l ; sv e */ int DOS_EXEC2 __P((int, const char *, const char *, const char *));
|
||||
/* ff4c w ; noret */ __dead void DOS_EXIT2 __P((int)) __attribute__((__noreturn__));
|
||||
/* ff4c w ; noret */ __dead void DOS_EXIT2 __P((int));
|
||||
/* ff4d */ int DOS_WAIT __P((void));
|
||||
/* ff4e l l w ; e */ int DOS_FILES __P((struct dos_filbuf *, const char *, int));
|
||||
/* ff4e lb31 l w ; e */ int DOS_EXFILES __P((struct dos_exfilbuf *, const char *, int));
|
||||
|
@ -441,10 +441,10 @@ struct dos_prcptr {
|
|||
/* ffad wb15 l l ; ealloc */ void *DOS_S_MALLOC0 __P((int, int));
|
||||
/* ffae l ; e */ int DOS_S_MFREE __P((void *));
|
||||
/* ffaf w l l l ; ep */ int DOS_S_PROCESS __P((int, int, int, int));
|
||||
/* fff0 ; alias DOS_EXITVC noret */ __dead void DOS_RETSHELL __P((void)) __attribute__((__noreturn__));
|
||||
__dead void DOS_EXITVC __P((void)) __attribute__((__noreturn__));
|
||||
/* fff1 ; noret */ __dead void DOS_CTLABORT __P((void)) __attribute__((__noreturn__));
|
||||
/* fff2 ; noret */ __dead void DOS_ERRABORT __P((void)) __attribute__((__noreturn__));
|
||||
/* fff0 ; alias DOS_EXITVC noret */ __dead void DOS_RETSHELL __P((void));
|
||||
__dead void DOS_EXITVC __P((void));
|
||||
/* fff1 ; noret */ __dead void DOS_CTLABORT __P((void));
|
||||
/* fff2 ; noret */ __dead void DOS_ERRABORT __P((void));
|
||||
/* fff3 l w w w */ void DOS_DISKRED __P((void *, int, int, int));
|
||||
/* fff3 lb31 w l l */ void DOS_DISKRED2 __P((void *, int, int, int));
|
||||
/* fff4 l w w w */ void DOS_DISKWRT __P((const void *, int, int, int));
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
* (based on PD libc 1.1.32 by PROJECT C Library)
|
||||
* public domain
|
||||
*
|
||||
* $NetBSD: iocs.h,v 1.4 2005/12/24 23:24:07 perry Exp $
|
||||
* $NetBSD: iocs.h,v 1.5 2007/12/24 15:46:46 perry Exp $
|
||||
*/
|
||||
/*
|
||||
* PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
|
||||
|
@ -449,8 +449,8 @@ struct iocs_inquiry {
|
|||
/* d8 a1 */ void IOCS_TXREV __P((const struct iocs_trevptr *));
|
||||
/* df d1 d2 d3 */ void IOCS_TXRASCPY __P((int, int, int));
|
||||
/* fd */ void IOCS_ABORTRST __P((void));
|
||||
/* fe ; noret */ __dead void IOCS_IPLERR __P((void)) __attribute__((__noreturn__));
|
||||
/* ff ; noret */ __dead void IOCS_ABORTJOB __P((void)) __attribute__((__noreturn__));
|
||||
/* fe ; noret */ __dead void IOCS_IPLERR __P((void));
|
||||
/* ff ; noret */ __dead void IOCS_ABORTJOB __P((void));
|
||||
|
||||
/* SCSI calls */
|
||||
/* f5 d1=0 */ void IOCS_S_RESET __P((void));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: stand.h,v 1.62 2007/11/24 13:20:57 isaki Exp $ */
|
||||
/* $NetBSD: stand.h,v 1.63 2007/12/24 15:46:46 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
|
||||
|
@ -241,9 +241,9 @@ void twiddle(void);
|
|||
void gets(char *);
|
||||
int getfile(char *prompt, int mode);
|
||||
char *strerror(int);
|
||||
__dead void exit(int) __attribute__((__noreturn__));
|
||||
__dead void panic(const char *, ...) __attribute__((__noreturn__));
|
||||
__dead void _rtt(void) __attribute__((__noreturn__));
|
||||
__dead void exit(int);
|
||||
__dead void panic(const char *, ...);
|
||||
__dead void _rtt(void);
|
||||
void (bcopy)(const void *, void *, size_t);
|
||||
void *memcpy(void *, const void *, size_t);
|
||||
void *memmove(void *, const void *, size_t);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: uvm_extern.h,v 1.140 2007/12/13 02:45:11 yamt Exp $ */
|
||||
/* $NetBSD: uvm_extern.h,v 1.141 2007/12/24 15:46:46 perry Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -584,7 +584,7 @@ void uvm_proc_exit(struct proc *);
|
|||
void uvm_lwp_exit(struct lwp *);
|
||||
void uvm_init_limits(struct proc *);
|
||||
bool uvm_kernacc(void *, size_t, int);
|
||||
__dead void uvm_scheduler(void) __attribute__((noreturn));
|
||||
__dead void uvm_scheduler(void);
|
||||
void uvm_kick_scheduler(void);
|
||||
void uvm_swapin(struct lwp *);
|
||||
bool uvm_uarea_alloc(vaddr_t *);
|
||||
|
|
Loading…
Reference in New Issue