diff options
Diffstat (limited to 'pcilib/register.h')
-rw-r--r-- | pcilib/register.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pcilib/register.h b/pcilib/register.h index 307e8a1..535e9d0 100644 --- a/pcilib/register.h +++ b/pcilib/register.h @@ -47,7 +47,15 @@ typedef struct { pcilib_register_bank_t bank; } pcilib_register_context_t; + +#ifdef __cplusplus +extern "C" { +#endif + int pcilib_add_registers(pcilib_t *ctx, size_t n, const pcilib_register_description_t *registers); +#ifdef __cplusplus +} +#endif #endif /* _PCILIB_REGISTER_H */ |