summaryrefslogtreecommitdiff
path: root/backend/stubs.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
commit3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (patch)
treed69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/stubs.c
parentc8bd2513ecba169cff44c09c8058c36987357b18 (diff)
parent1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff)
Update upstream source from tag 'upstream/1.0.28'
Update to upstream version '1.0.28' with Debian dir ec5bb298266630fc3801ff6dc0c258f6df7ba979
Diffstat (limited to 'backend/stubs.c')
-rw-r--r--backend/stubs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/stubs.c b/backend/stubs.c
index 3fb5ce3..a8afd3e 100644
--- a/backend/stubs.c
+++ b/backend/stubs.c
@@ -5,6 +5,10 @@
/* Now define the wrappers (we could use aliases here, but go for
robustness for now...: */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
SANE_Status
sane_init (SANE_Int *vc, SANE_Auth_Callback cb)
{
@@ -83,3 +87,7 @@ sane_exit (void)
{
ENTRY(exit) ();
}
+
+#ifdef __cplusplus
+} // extern "C"
+#endif