diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-04-15 17:15:57 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-15 23:33:21 +0200 |
commit | 84624e14f805ae5b76cc9384aa5c3d7a185727b4 (patch) | |
tree | bd2edb4bb294e34669b5bb8182a0e0557684304f | |
parent | d37ea94f2a85d0d23acaae2014a19d46693fe3df (diff) | |
download | rockbox-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.h | 9 |
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 */ |