summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-15 17:15:57 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-15 23:33:21 +0200
commit84624e14f805ae5b76cc9384aa5c3d7a185727b4 (patch)
treebd2edb4bb294e34669b5bb8182a0e0557684304f
parentd37ea94f2a85d0d23acaae2014a19d46693fe3df (diff)
downloadrockbox-84624e1.tar.gz
rockbox-84624e1.zip
bspatch: Add a __cplusplus wrapper in the header so rbutil can use it
Change-Id: Iba4e173ec73bfb38144ebb83edf3ed8161d03ebd
-rw-r--r--rbutil/bspatch/bspatch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/rbutil/bspatch/bspatch.h b/rbutil/bspatch/bspatch.h
index 666b460647..46edd5db0c 100644
--- a/rbutil/bspatch/bspatch.h
+++ b/rbutil/bspatch/bspatch.h
@@ -5,6 +5,15 @@
#ifndef _BSPATCH_H
#define _BSPATCH_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int apply_bspatch(const char *infile, const char *outfile, const char *patchfile);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _BSPATCH_H */