]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
grepc: srcfix
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 13 May 2022 15:12:06 +0000 (17:12 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:29:00 +0000 (21:29 +0100)
Use alphabetic order.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc

index edfe93ff8e71c7f5a72e33ee53f7d11c9721e402..72c76772ecbfff6091a706b3ab3adf22f1a7d86b 100755 (executable)
--- 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";
 }