diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-09 13:20:54 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-09 13:21:23 +0200 |
commit | e89cdff69dae98e2fca1e5b58a52f34c3a2b3aa2 (patch) | |
tree | 2e6fd51cf92c782bf199a98ed906cd1aed8a39fe /bin/grepc | |
parent | 8312a65f4b6ae51c287683dbf77b3735285fbab9 (diff) |
grepc: grepc_glibc_math: Support glibc math functions
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'bin/grepc')
-rwxr-xr-x | bin/grepc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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"; } |