X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Ffdmatch.c;h=1ef7a1e4ceb4c50e377cb8d9abd681af9e90f8fc;hb=fef1b2933d911476c52418ae7c207d94e13ebb97;hp=979c214d5d4d3e835f72b04ad9376de944ee0bc2;hpb=ba19b94f67aeec0722939ce17b4067c8fd05f4cc;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/fdmatch.c b/libiberty/fdmatch.c index 979c214d5d..1ef7a1e4ce 100644 --- a/libiberty/fdmatch.c +++ b/libiberty/fdmatch.c @@ -1,5 +1,5 @@ /* Compare two open file descriptors to see if they refer to the same file. - Copyright (C) 1991 Free Software Foundation, Inc. + Copyright (C) 1991-2018 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -14,8 +14,8 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ /* @@ -41,14 +41,15 @@ BUGS */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "ansidecl.h" #include "libiberty.h" #include #include -int fdmatch (fd1, fd2) - int fd1; - int fd2; +int fdmatch (int fd1, int fd2) { struct stat sbuf1; struct stat sbuf2;