aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2017-02-11 20:22:55 +0100
committerMatthias Andree <matthias.andree@gmx.de>2017-02-11 20:22:55 +0100
commitad3f62d6d9c639fe4e8811f3bb86417039a3c090 (patch)
treefaac1fe8a0ff3a8a02b384af448476085d650d8d
parent40b60e1ce518309b7a3d93c0ce4346137bd7b6e7 (diff)
downloadfetchmail-ad3f62d6d9c639fe4e8811f3bb86417039a3c090.tar.gz
fetchmail-ad3f62d6d9c639fe4e8811f3bb86417039a3c090.tar.bz2
fetchmail-ad3f62d6d9c639fe4e8811f3bb86417039a3c090.zip
Quiet linker warnings around yywrap() fix when using a C++ compiler.
-rw-r--r--rcfile_l.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcfile_l.l b/rcfile_l.l
index b4899a2c..e27545e4 100644
--- a/rcfile_l.l
+++ b/rcfile_l.l
@@ -27,6 +27,9 @@ int prc_lineno = 1;
#define YY_NO_INPUT
+#ifdef __cplusplus
+extern "C"
+#endif
int yywrap(void) { return 1; }
%}