include: add extern c to bdev_zone.h

Change-Id: I262dd0bf4871b1e364c8f7de62f20f0ec3bfa500
Signed-off-by: shua.lv <shua.lv@outlook.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13821
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
shua.lv 2022-07-30 00:39:52 +00:00 committed by Tomasz Zawadzki
parent af5b654df8
commit aa22e6f774

View File

@ -13,6 +13,10 @@
#include "spdk/stdinc.h"
#include "spdk/bdev.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* \brief SPDK block device.
*
@ -285,4 +289,8 @@ int spdk_bdev_zone_appendv_with_md(struct spdk_bdev_desc *desc, struct spdk_io_c
*/
uint64_t spdk_bdev_io_get_append_location(struct spdk_bdev_io *bdev_io);
#ifdef __cplusplus
}
#endif
#endif /* SPDK_BDEV_ZONE_H */