bspatch: Add a __cplusplus wrapper in the header so rbutil can use it

Change-Id: Iba4e173ec73bfb38144ebb83edf3ed8161d03ebd
This commit is contained in:
Solomon Peachy 2020-04-15 17:15:57 -04:00
parent d37ea94f2a
commit 84624e14f8

View file

@ -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 */