summaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-29 17:51:38 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-10-29 17:51:38 +0000
commit2ff5acce2a7d9f7ddec743e7281f9aea69b3eca3 (patch)
tree2131b6dd763359d6381fa3af3e5706e629a02568 /gcc/mips-tfile.c
parent248ff8ad777d3cc0888eaa918b37fea1b67d1673 (diff)
downloadgcc-2ff5acce2a7d9f7ddec743e7281f9aea69b3eca3.tar.gz
* flow.c (debug_flow_info): Add prototype.
* gcc.c (main): Likewise. * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work): Likewise. * reload1.c (failed_reload, set_reload_reg): Likewise. * mips-tfile.c (main): Likewise. (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark with ATTRIBUTE_NORETURN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index cbe7349088c..e6042f8afa4 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -633,11 +633,11 @@ typedef const PTR_T CPTR_T;
so they can't be static. */
extern void pfatal_with_name
- __proto((const char *));
-extern void fancy_abort __proto((void));
- void botch __proto((const char *));
+ __proto((const char *)) ATTRIBUTE_NORETURN;
+extern void fancy_abort __proto((void)) ATTRIBUTE_NORETURN;
+ void botch __proto((const char *)) ATTRIBUTE_NORETURN;
-extern void fatal PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1;
+extern void fatal PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
extern void error PVPROTO((const char *format, ...)) ATTRIBUTE_PRINTF_1;
#ifndef MIPS_DEBUGGING_INFO
@@ -1661,7 +1661,7 @@ STATIC void parse_stabn __proto((const char *));
STATIC page_t *read_seek __proto((Size_t, off_t, const char *));
STATIC void copy_object __proto((void));
-STATIC void catch_signal __proto((int));
+STATIC void catch_signal __proto((int)) ATTRIBUTE_NORETURN;
STATIC page_t *allocate_page __proto((void));
STATIC page_t *allocate_multiple_pages
@@ -4801,10 +4801,12 @@ copy_object __proto((void))
/* Ye olde main program. */
+extern int main PROTO ((int, char **));
+
int
main (argc, argv)
int argc;
- char *argv[];
+ char **argv;
{
int iflag = 0;
char *p = local_rindex (argv[0], '/');