aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-09 13:20:54 +0200
committerAlejandro Colomar <alx@kernel.org>2025-10-29 21:28:49 +0100
commit0f75cadf00aa9a70a4a5178e4b50a4e7546cc3f1 (patch)
treee645b4f46657b07ad2ea1aa971cec81af258bdd4
parentf495918e86494194c3438f29af8d240cee525942 (diff)
downloadman-pages-0f75cadf00aa9a70a4a5178e4b50a4e7546cc3f1.tar.gz
grepc: grepc_glibc_math: Support glibc math functions
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rwxr-xr-xbin/grepc13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/grepc b/bin/grepc
index f8c933d651..4d6c430fd2 100755
--- a/bin/grepc
+++ b/bin/grepc
@@ -95,6 +95,18 @@ function grepc_syscall()
}
+function grepc_glibc_math()
+{
+ grepc_func_def "M_DECL_FUNC \(__$1\)";
+}
+
+
+function grepc_glibc()
+{
+ grepc_glibc_math "$1";
+}
+
+
function grepc_type_struct_union_enum()
{
grepc_helper '\.[ch]$' \
@@ -154,6 +166,7 @@ function main()
grepc_enum_constant "$1";
grepc_func "$1";
grepc_syscall "$1";
+ grepc_glibc "$1";
grepc_type "$1";
}