X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcopy-file.h;h=bf5e9d8c1c07878662b9a614969da2a1d8d2f381;hb=dd469821917cebe0abde6601b2ba7cd887bc498f;hp=3efda34b875c63e308199f0c1b10f4ff2b0478ff;hpb=c845cbfc0d3b726794f95723a7a1105d98e8725d;p=gnulib.git diff --git a/lib/copy-file.h b/lib/copy-file.h index 3efda34b8..bf5e9d8c1 100644 --- a/lib/copy-file.h +++ b/lib/copy-file.h @@ -16,9 +16,20 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +#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. Modification times, owner, group and access permissions are preserved as far as possible. Exit upon failure. */ extern void copy_file_preserving (const char *src_filename, const char *dest_filename); + + +#ifdef __cplusplus +} +#endif