Skip to content
Commit 56e62286 authored by Zhenhua Luo's avatar Zhenhua Luo Committed by Martin Jansa
Browse files

lvm2: replace CPPFunction with rl_completion_func_t to fix build error



lvm2 depends on readline, CPPFunction has been replaced by rl_completion_func_t
in recent readline,

Error log:
| lvm.c: In function 'lvm_shell':
| lvm.c:189:38: error: 'CPPFunction' undeclared (first use in this function)
|   rl_attempted_completion_function = (CPPFunction *) _completion;
|                                       ^

Signed-off-by: default avatarZhenhua Luo <zhenhua.luo@freescale.com>
Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
parent f717a295
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment