mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Improve compatibility with C++ consumers
C++ is a little picky about not using keywords for names, or string constness. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Jorgen Lundman <lundman@lundman.net> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #10409
This commit is contained in:
+2
-2
@@ -38,8 +38,8 @@ extern "C" {
|
||||
struct abd; /* forward declaration */
|
||||
typedef struct abd abd_t;
|
||||
|
||||
typedef int abd_iter_func_t(void *buf, size_t len, void *private);
|
||||
typedef int abd_iter_func2_t(void *bufa, void *bufb, size_t len, void *private);
|
||||
typedef int abd_iter_func_t(void *buf, size_t len, void *priv);
|
||||
typedef int abd_iter_func2_t(void *bufa, void *bufb, size_t len, void *priv);
|
||||
|
||||
extern int zfs_abd_scatter_enabled;
|
||||
extern abd_t *abd_zero_scatter;
|
||||
|
||||
Reference in New Issue
Block a user