Shiji Yang
8cf0c810fb
ltq-adsl-mei: fix missing-prototypes warnings
* Mark some functions as static.
* Add missing prototypes.
This patch fixes the following build warnings:
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:1182:1: error: no previous prototype for 'makeCMV' [-Werror=missing-prototypes]
1182 | makeCMV (u8 opcode, u8 group, u16 address, u16 index, int size, u16 * data, u16 *CMVMSG)
| ^~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:1855:1: error: no previous prototype for 'DSL_BSP_ATMLedCBUnregister' [-Werror=missing-prototypes]
1855 | DSL_BSP_ATMLedCBUnregister (int (*ifx_adsl_ledcallback) (void))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2448:1: error: no previous prototype for 'IFX_MEI_Ioctls' [-Werror=missing-prototypes]
2448 | IFX_MEI_Ioctls (DSL_DEV_Device_t * pDev, int from_kernel, unsigned int command, unsigned long lon)
| ^~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2699:5: error: no previous prototype for 'ifx_mei_atm_led_blink' [-Werror=missing-prototypes]
2699 | int ifx_mei_atm_led_blink(void)
| ^~~~~~~~~~~~~~~~~~~~~
/home/db/owrt/build_dir/target-mips_24kc_musl/linux-lantiq_xway/ltq-adsl-mei-danube/ltq-adsl-mei/drv_mei_cpe.c:2705:5: error: no previous prototype for 'ifx_mei_atm_showtime_check' [-Werror=missing-prototypes]
2705 | int ifx_mei_atm_showtime_check(int *is_showtime, struct port_cell_info *port_cell, void **xdata_addr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18744
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-13 22:02:20 +02:00
..
2025-05-07 14:46:26 +02:00
2025-03-15 18:28:15 +01:00
2025-04-13 10:44:19 +02:00
2025-04-23 10:29:14 +02:00
2022-10-24 20:49:34 +02:00
2024-11-12 14:28:36 +01:00
2017-11-06 16:39:41 +01:00
2025-04-11 11:21:18 +02:00
2024-11-10 02:16:31 +01:00
2025-05-13 22:02:20 +02:00
2024-12-24 00:23:35 +01:00
2024-10-06 12:21:51 +02:00
2025-05-10 07:58:12 +02:00
2025-05-13 03:32:26 +02:00
2025-05-03 20:16:25 +02:00
2024-08-25 15:08:25 +02:00
2025-02-19 09:55:25 +01:00
2025-05-10 21:34:25 +02:00
2025-05-09 16:25:06 +02:00
2025-05-09 16:25:06 +02:00
2025-04-23 09:14:26 +02:00
2025-04-23 09:36:46 +02:00
2025-04-23 09:37:43 +02:00
2025-04-23 09:38:04 +02:00
2025-04-23 09:39:24 +02:00
2022-12-17 20:12:31 +01:00
2025-05-03 20:16:25 +02:00
2025-05-03 20:16:25 +02:00
2024-10-08 22:24:54 +02:00
2025-04-11 11:21:20 +02:00