X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcopy-file.h;h=3b86e6839bb791cd53d13ec655ee7135a9b57c5a;hb=9fbf8e1a391ab49dca9c608a32af9a42831f3445;hp=3efda34b875c63e308199f0c1b10f4ff2b0478ff;hpb=c845cbfc0d3b726794f95723a7a1105d98e8725d;p=gnulib.git diff --git a/lib/copy-file.h b/lib/copy-file.h index 3efda34b8..3b86e6839 100644 --- a/lib/copy-file.h +++ b/lib/copy-file.h @@ -2,10 +2,10 @@ Copyright (C) 2001-2003 Free Software Foundation, Inc. Written by Bruno Haible , 2001. - This program is free software; you can redistribute it and/or modify + 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, or (at your option) - any later version. + 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 @@ -13,8 +13,13 @@ 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ + + +#ifdef __cplusplus +extern "C" { +#endif + /* Copy a regular file: from src_filename to dest_filename. The destination file is assumed to be a backup file. @@ -22,3 +27,8 @@ far as possible. Exit upon failure. */ extern void copy_file_preserving (const char *src_filename, const char *dest_filename); + + +#ifdef __cplusplus +} +#endif