diff options
author | Alec Salazar <[email protected]> | 2014-08-05 09:10:54 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-08-13 10:35:00 -0700 |
commit | 22a11a5b5abc6b82972f8c6fa1d9b6efab3a4ab5 (patch) | |
tree | 867605d11905e8b68ff0fccd4a03789e5fd090c9 /include/sys/zfs_context.h | |
parent | 0d5c500d6cf4dd9e133cbffd82440c95d89478a4 (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/zfs_context.h')
-rw-r--r-- | include/sys/zfs_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h index fd3e0b0d4..bbb8a0463 100644 --- a/include/sys/zfs_context.h +++ b/include/sys/zfs_context.h @@ -148,9 +148,9 @@ extern void dprintf_setup(int *argc, char **argv); extern void __dprintf(const char *file, const char *func, int line, const char *fmt, ...); extern void cmn_err(int, const char *, ...); -extern void vcmn_err(int, const char *, __va_list); +extern void vcmn_err(int, const char *, va_list); extern void panic(const char *, ...); -extern void vpanic(const char *, __va_list); +extern void vpanic(const char *, va_list); #define fm_panic panic |