summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-11 16:37:59 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-11 16:37:59 -0500
commit7a824750a4cbc418fbb1f257f179f8c464518822 (patch)
tree1422a97f576d5f787fecca04014ac5724183cc39 /gcc/mips-tdump.c
parent924f3f28d39adf56d3b2dcf706fc91e6710070c5 (diff)
downloadgcc-7a824750a4cbc418fbb1f257f179f8c464518822.tar.gz
Include <time.h>. Delete ctime prototype.
From-SVN: r8425
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index cba744e578e..9e315031d2a 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -1,7 +1,7 @@
/* Read and manage MIPS symbol tables from object modules.
- Source originally from hartzell@boulder.colorado.edu
- Rewritten by: meissner@osf.org
- Copyright (C) 1991 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1994 Free Software Foundation, Inc.
+ Contributed by hartzell@boulder.colorado.edu,
+ Rewritten by meissner@osf.org.
This file is part of GNU CC.
@@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <sys/types.h>
#include <sys/file.h>
+#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include "config.h"
@@ -273,7 +274,6 @@ extern PTR_T calloc __proto((size_t, size_t));
extern PTR_T realloc __proto((PTR_T, size_t));
extern void free __proto((PTR_T));
#endif
-extern char *ctime __proto((time_t *));
extern char *optarg;
extern int optind;