aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/nvpair.h
diff options
context:
space:
mode:
authorAlec Salazar <[email protected]>2014-08-05 09:10:54 -0400
committerBrian Behlendorf <[email protected]>2014-08-13 10:35:00 -0700
commit22a11a5b5abc6b82972f8c6fa1d9b6efab3a4ab5 (patch)
tree867605d11905e8b68ff0fccd4a03789e5fd090c9 /include/sys/nvpair.h
parent0d5c500d6cf4dd9e133cbffd82440c95d89478a4 (diff)
Replace __va_list with va_list
Most of the code base already uses va_list, which is specified by iso-c. gcc/glibc provides 'typedef __gnuc_va_list va_list'. and when not using gcc/glibc we can't expect to find __gnuc_va_list. Signed-off-by: Alec Salazar <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2588
Diffstat (limited to 'include/sys/nvpair.h')
-rw-r--r--include/sys/nvpair.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/nvpair.h b/include/sys/nvpair.h
index 7a6787045..d2dfad5ca 100644
--- a/include/sys/nvpair.h
+++ b/include/sys/nvpair.h
@@ -132,7 +132,7 @@ typedef struct nv_alloc {
} nv_alloc_t;
struct nv_alloc_ops {
- int (*nv_ao_init)(nv_alloc_t *, __va_list);
+ int (*nv_ao_init)(nv_alloc_t *, va_list);
void (*nv_ao_fini)(nv_alloc_t *);
void *(*nv_ao_alloc)(nv_alloc_t *, size_t);
void (*nv_ao_free)(nv_alloc_t *, void *, size_t);