* commit '0cb82da25475d30f8cddbf60764400f3040809ae': libsparse: allow including from C++
This commit is contained in:
commit
37d39eba0b
1 changed files with 8 additions and 0 deletions
|
|
@ -20,6 +20,10 @@
|
|||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct sparse_file;
|
||||
|
||||
/**
|
||||
|
|
@ -273,4 +277,8 @@ void sparse_file_verbose(struct sparse_file *s);
|
|||
*/
|
||||
extern void (*sparse_print_verbose)(const char *fmt, ...);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue