X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gold%2Fftruncate.c;h=00f357f9ea70ec6d41cf9a86a6f1839cc4fd4047;hb=69852495aa2dee421e7c4436c12a1db53f96ee38;hp=ff7d11b090a4f41760885dd15cbbd00e344c80fe;hpb=9201d894910e26e87fbfc0af24d9460797b1890f;p=platform%2Fupstream%2Fbinutils.git diff --git a/gold/ftruncate.c b/gold/ftruncate.c index ff7d11b..00f357f 100644 --- a/gold/ftruncate.c +++ b/gold/ftruncate.c @@ -1,6 +1,25 @@ /* ftruncate emulations that work on some System V's. This file is in the public domain. */ +/* Copyright (C) 2012-2014 Free Software Foundation, Inc. + + This file is part of gold. + + 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. + + 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. */ + #include /* Specification. */ @@ -9,6 +28,8 @@ #include #include +extern int ftruncate (int, off_t); + #ifdef F_CHSIZE int