summaryrefslogtreecommitdiff
path: root/gprof/gmon_io.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-08-25 04:38:45 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-08-25 04:38:45 +0000
commit1fd41d4eccdbbb0c6d14df8e09db664150360fcf (patch)
tree891c2be9b04b80c11301bbcbe322039496f16a0e /gprof/gmon_io.c
parent7040f7e218b9293e99bd3aab34375d48af83e3ac (diff)
downloadbinutils-redhat-1fd41d4eccdbbb0c6d14df8e09db664150360fcf.tar.gz
* 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
{