summaryrefslogtreecommitdiff
path: root/backend/stubs.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/stubs.c
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
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