X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffwriteerror.h;h=24d8e0ad4478ab3e0ab9d9f6be843873f257fe49;hb=dd6ceef65e424d30db8706273f88c20b015012ce;hp=ebbe1be6c9db6b0a895028a55201d3e5e6e23c49;hpb=9347e00e6c9092517edc8e3aa101a6b76a92a99c;p=gnulib.git diff --git a/lib/fwriteerror.h b/lib/fwriteerror.h index ebbe1be6c..24d8e0ad4 100644 --- a/lib/fwriteerror.h +++ b/lib/fwriteerror.h @@ -40,6 +40,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Write out the not yet written buffered contents of the stream FP, close the stream FP, and test whether some error occurred on the stream FP. FP must be a stream opened for writing. @@ -53,3 +57,7 @@ extern int fwriteerror (FILE *fp); /* Likewise, but don't consider it an error if FP has an invalid file descriptor and no output was done to FP. */ extern int fwriteerror_no_ebadf (FILE *fp); + +#ifdef __cplusplus +} +#endif