* 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.
This commit is contained in:
Alan Modra
2008-08-25 04:38:45 +00:00
parent 4cef8a9f87
commit 81e80ddaa9
5 changed files with 164 additions and 201 deletions

View File

@@ -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
{