summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-05-13 17:12:06 +0200
committerAlejandro Colomar <alx.manpages@gmail.com>2022-05-13 17:12:06 +0200
commit10f476f5c10fb6af065374274fdab5c505149087 (patch)
treecac2f387e4630022a32273e8427263e3ca4c21f4 /bin
parent20a93ba2943096b6f0c1fbb58ecdcc48e90e25f4 (diff)
grepc: srcfix
Use alphabetic order. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/grepc26
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/grepc b/bin/grepc
index edfe93f..72c7677 100755
--- a/bin/grepc
+++ b/bin/grepc
@@ -134,6 +134,18 @@ grepc_func_def()
}
+grepc_glibc_func_math()
+{
+ grepc_func_def "M_DECL_FUNC \(__$1\)";
+}
+
+
+grepc_glibc_func()
+{
+ grepc_glibc_func_math "$1";
+}
+
+
grepc_linux_func_syscall_decl()
{
grepc_helper \
@@ -159,24 +171,12 @@ grepc_linux_func()
}
-grepc_glibc_func_math()
-{
- grepc_func_def "M_DECL_FUNC \(__$1\)";
-}
-
-
-grepc_glibc_func()
-{
- grepc_glibc_func_math "$1";
-}
-
-
grepc_func()
{
grepc_func_decl "$1";
grepc_func_def "$1";
- grepc_linux_func "$1";
grepc_glibc_func "$1";
+ grepc_linux_func "$1";
}