X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gprof%2Fgmon_io.h;h=6fbae6b548225f7050849b6437ede6e0d14088a8;hb=6180343701dbc278aebb35e48de667d76728cebd;hp=f38cc7f1773839030f9a9ab8dcdead1fd2bc8d9a;hpb=01f0fe5e0450edf168c1f612feb93cf588e4e7ea;p=external%2Fbinutils.git diff --git a/gprof/gmon_io.h b/gprof/gmon_io.h index f38cc7f..6fbae6b 100644 --- a/gprof/gmon_io.h +++ b/gprof/gmon_io.h @@ -1,44 +1,27 @@ /* gmon_io.h - Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2000-2019 Free Software Foundation, Inc. -This file is part of GNU Binutils. + This file is part of GNU Binutils. -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #ifndef gmon_io_h #define gmon_io_h -/* Some platforms need to put stdin into binary mode, to read - binary files. */ -#include "sysdep.h" -#ifdef HAVE_SETMODE -#ifndef O_BINARY -#ifdef _O_BINARY -#define O_BINARY _O_BINARY -#define setmode _setmode -#else -#define O_BINARY 0 -#endif -#endif -#if O_BINARY -#include -#define SET_BINARY(f) do { if (!isatty(f)) setmode(f,O_BINARY); } while (0) -#endif -#endif - #define INPUT_HISTOGRAM (1 << 0) #define INPUT_CALL_GRAPH (1 << 1) #define INPUT_BB_COUNTS (1 << 2)