summaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-25 04:38:45 +0000
committerAlan Modra <amodra@gmail.com>2008-08-25 04:38:45 +0000
commit81e80ddaa918d80abefd529f8c1e8b2a01c240db (patch)
tree50c385492a15489adfaa44fbdcbd3a1d3da8f800 /gprof/gmon_io.c
parent4cef8a9f87d907d5d188b64178b8f875ca1b03fa (diff)
* gmon_io.h: Don't include sysdep.h here.
(O_BINARY, SET_BINARY): Don't define here. * gmon_io.c: Include "binary-io.h". (gmon_out_read): Remove #ifdef SET_BINARY. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate.
Diffstat (limited to 'gprof/gmon_io.c')
-rw-r--r--gprof/gmon_io.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index 8d1071a7a5..bf74c263bd 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -1,6 +1,6 @@
/* gmon_io.c - Input and output from/to gmon.out files.
- Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
+ Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008
Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -21,6 +21,7 @@
02110-1301, USA. */
#include "gprof.h"
+#include "binary-io.h"
#include "search_list.h"
#include "source.h"
#include "symtab.h"
@@ -300,9 +301,7 @@ gmon_out_read (const char *filename)
if (strcmp (filename, "-") == 0)
{
ifp = stdin;
-#ifdef SET_BINARY
SET_BINARY (fileno (stdin));
-#endif
}
else
{