Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
}
-function grepc_syscall_decl()
+function grepc_linux_syscall_decl()
{
grepc_helper '\.[ch]$' \
"\bsys_$1\s*\(" \
}
-function grepc_syscall_def()
+function grepc_linux_syscall_def()
{
grepc_helper '\.c$' \
"SYSCALL_DEFINE.\($1\b" \
}
-function grepc_syscall()
+function grepc_linux()
{
- grepc_syscall_decl "$1";
- grepc_syscall_def "$1";
+ grepc_linux_syscall_decl "$1";
+ grepc_linux_syscall_def "$1";
}
grepc_macro "$1";
grepc_enum_constant "$1";
grepc_func "$1";
- grepc_syscall "$1";
+ grepc_linux "$1";
grepc_glibc "$1";
grepc_type "$1";
}