diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-01 17:08:40 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-01 17:08:40 +0200 |
commit | 2e28c45601a57b1d23e9cad33d2bdcc59e8a3f4f (patch) | |
tree | 346da06f09e147197a805fa2494ca1633531d8c9 /include/sqfs/id_table.h | |
parent | 4ee671b63b18701a29cf9f119e2dc26a055c69c5 (diff) |
Add C++ gurads to publicly exported functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/id_table.h')
-rw-r--r-- | include/sqfs/id_table.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sqfs/id_table.h b/include/sqfs/id_table.h index dcc8a18..b209785 100644 --- a/include/sqfs/id_table.h +++ b/include/sqfs/id_table.h @@ -26,6 +26,10 @@ typedef struct { size_t max_ids; } id_table_t; +#ifdef __cplusplus +extern "C" { +#endif + /* Returns 0 on success. Prints error message to stderr on failure. */ int id_table_init(id_table_t *tbl); @@ -45,4 +49,8 @@ int id_table_write(id_table_t *tbl, int outfd, sqfs_super_t *super, int id_table_read(id_table_t *tbl, int fd, sqfs_super_t *super, compressor_t *cmp); +#ifdef __cplusplus +} +#endif + #endif /* ID_TABLE_H */ |