Files
packages/utils
Christian Marangi 7118a45a9b gl-mifi-mcu: fix compilation warning for conflicting function
Module called the exit module function "exit", This conflicts with the
stdlib header that use exit() to exit userspace program.

Correctly assign a namespace to these functions. (init and exit)

Fix compilation warning:
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r21757+608-895f38ca1e) 12.2.0
  You are using:           aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r21757+1091-895f38ca1e) 12.2.0
  CC [M]  /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/gl-mifi-mcu-1/module.o
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/gl-mifi-mcu-1/module.c:196:20: error: conflicting types for built-in function 'exit'; expected 'void(int)' [-Werror=builtin-declaration-mismatch]
  196 | static void __exit exit(void)
      |                    ^~~~
/home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/gl-mifi-mcu-1/module.c:9:1: note: 'exit' is declared in header '<stdlib.h>'
    8 | #include <linux/version.h>
  +++ |+#include <stdlib.h>
    9 |
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-14 16:51:48 +02:00
..
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-15 22:47:41 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-10-25 18:04:56 -07:00
2022-12-14 22:05:14 +08:00
2023-04-21 22:46:58 +02:00
2023-01-14 15:07:25 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-12-20 01:42:14 +00:00
2023-01-24 17:56:34 -08:00
2023-03-07 11:35:06 +08:00
2023-05-09 17:41:11 +08:00
2022-10-08 15:34:04 +02:00
2023-04-21 22:46:58 +02:00
2023-01-22 15:28:07 +08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-02-25 12:07:50 +08:00
2022-12-16 20:47:05 -08:00
2023-01-18 14:02:39 +00:00
2023-01-13 22:04:52 -08:00
2023-04-21 22:46:58 +02:00
2023-04-08 01:42:48 +08:00
2023-04-21 22:46:58 +02:00
2023-01-14 23:47:17 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-12-20 01:44:21 +00:00
2023-02-24 16:08:39 -08:00
2023-04-21 22:46:58 +02:00
2022-11-24 10:09:58 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-03-28 15:41:13 +08:00
2023-04-26 09:28:44 +03:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-11-02 15:22:12 +02:00
2022-11-17 14:54:35 -08:00
2023-04-21 22:46:58 +02:00
2023-04-26 09:27:36 +03:00
2023-04-21 22:46:58 +02:00
2023-03-11 22:50:14 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-05 20:41:25 +03:00
2023-01-24 17:57:05 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-10-31 12:27:05 -07:00
2023-01-20 13:17:30 +00:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-03 23:58:19 +08:00
2023-04-21 22:46:58 +02:00
2023-01-14 19:47:36 -08:00
2023-01-14 19:31:16 -08:00
2023-05-14 18:52:45 +08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-23 18:35:39 +08:00
2023-01-14 10:01:34 -08:00
2022-12-22 16:28:45 -08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-29 13:42:21 +03:00
2022-10-06 03:35:57 +08:00
2023-05-06 20:24:57 +08:00
2023-01-14 23:47:35 -08:00
2023-04-21 22:46:58 +02:00
2023-02-28 15:41:52 -08:00
2023-05-01 13:39:06 +03:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-02-06 13:19:10 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-05-07 20:48:01 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-12-31 11:03:39 +02:00
2023-04-21 22:46:58 +02:00
2022-11-18 09:27:49 +08:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-02-15 04:06:36 +00:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2023-04-21 22:46:58 +02:00
2022-12-25 02:28:48 +01:00