summaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-13 12:34:02 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-13 12:34:02 +0000
commit3529baad5115a4f43812f27f66c6b079405651a9 (patch)
tree5c0e24efb7b63aabd09a3c22a36caa8fb7ac34c6 /gcc/libgcc2.c
parent59112222d25f29607ab7c59b150e080d33b5cfa5 (diff)
downloadgcc-3529baad5115a4f43812f27f66c6b079405651a9.tar.gz
* c-decl.c (start_function): Don't warn if old prototype is builtin
that's not in C's namespace. * libgcc2.c (_varargs): Update definition of __builtin_saveregs. (_bb): Add prototype for ctime. * config/alpha/osf.h (TRANSFER_FROM_TRAMPOLINE): Add missing protos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r--gcc/libgcc2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index f38bfc88d39..341ed4abc12 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1,7 +1,7 @@
/* More subroutines needed by GCC output code on some machines. */
/* Compile this one with gcc. */
/* Copyright (C) 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
- Free Software Foundation, Inc.
+ 2001 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -1457,8 +1457,8 @@ asm ("___builtin_saveregs:");
asm (" .end __builtin_saveregs");
#else /* not __mips__, etc. */
-void * __attribute__ ((__noreturn__))
-__builtin_saveregs (void)
+void * ATTRIBUTE_NORETURN
+__builtin_saveregs ()
{
abort ();
}
@@ -1517,7 +1517,7 @@ BLOCK_PROFILER_CODE
#undef NULL /* Avoid errors if stdio.h and our stddef.h mismatch. */
#include <stdio.h>
-char *ctime ();
+char *ctime PARAMS ((const time_t *));
#include "gbl-ctors.h"
#include "gcov-io.h"