diff options
author | Bruno Haible <bruno@clisp.org> | 2006-11-06 12:55:16 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-11-06 12:55:16 +0000 |
commit | 2c4a44a5d092da2f1c2864b27ca382f77faeb63d (patch) | |
tree | ea85b0cd2cdd11804609e87c5ac39ac88ba36b69 /lib/fwriteerror.h | |
parent | c437773f09dd9684683ae46730c1224e51509177 (diff) | |
download | gnulib-2c4a44a5d092da2f1c2864b27ca382f77faeb63d.tar.gz |
Avoid name mangling in C++ mode.
Diffstat (limited to 'lib/fwriteerror.h')
-rw-r--r-- | lib/fwriteerror.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/fwriteerror.h b/lib/fwriteerror.h index ebbe1be6c9..24d8e0ad44 100644 --- a/lib/fwriteerror.h +++ b/lib/fwriteerror.h @@ -40,6 +40,10 @@ #include <stdio.h> +#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 |