t_enum='no';
t_func_proto='no';
t_func_def='no';
-t_func_syscall='no';
t_func_syscall_proto='no';
t_func_syscall_def='no';
t_func_glibc='no';
f)
t_func_proto='yes';
t_func_def='yes';
- t_func_syscall='yes';
+ t_func_syscall_proto='yes';
+ t_func_syscall_def='yes';
t_func_glibc='yes';
;;
fp)
t_func_def='yes';
;;
fs)
- t_func_syscall='yes';
+ t_func_syscall_proto='yes';
+ t_func_syscall_def='yes';
;;
fsp)
t_func_syscall_proto='yes';
t_enum='yes';
t_func_proto='yes';
t_func_def='yes';
- t_func_syscall='yes';
+ t_func_syscall_proto='yes';
+ t_func_syscall_def='yes';
t_func_glibc='yes';
t_macro='yes';
t_type='yes';
}
-grepc_linux_func()
-{
- grepc_linux_func_syscall_proto "$1";
- grepc_linux_func_syscall_def "$1";
-}
-
-
grepc_macro_func()
{
grepc_helper \
if [ "$t_func_def" = 'yes' ]; then
grepc_func_def "$1";
fi;
- if [ "$t_func_syscall" = 'yes' ]; then
- grepc_linux_func "$1";
- else
- if [ "$t_func_syscall_proto" = 'yes' ]; then
- grepc_linux_func_syscall_proto "$1";
- fi;
- if [ "$t_func_syscall_def" = 'yes' ]; then
- grepc_linux_func_syscall_def "$1";
- fi;
+ if [ "$t_func_syscall_proto" = 'yes' ]; then
+ grepc_linux_func_syscall_proto "$1";
+ fi;
+ if [ "$t_func_syscall_def" = 'yes' ]; then
+ grepc_linux_func_syscall_def "$1";
fi;
if [ "$t_func_glibc" = 'yes' ]; then
grepc_glibc_func "$1";