--- embedaddon/mpd/src/devices.h 2013/07/22 08:44:29 1.1.1.1 +++ embedaddon/mpd/src/devices.h 2021/03/17 00:39:23 1.1.1.2 @@ -34,55 +34,55 @@ #ifdef _WANT_DEVICE_CMDS #ifdef PHYSTYPE_MODEM { "modem ...", "Modem specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) ModemSetCmds }, + CMD_SUBMENU, AdmitDev, 2, ModemSetCmds }, #endif #ifdef PHYSTYPE_NG_SOCKET { "ng ...", "Netgraph specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) NgSetCmds }, + CMD_SUBMENU, AdmitDev, 2, NgSetCmds }, #endif #ifdef PHYSTYPE_TCP { "tcp ...", "TCP specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) TcpSetCmds }, + CMD_SUBMENU, AdmitDev, 2, TcpSetCmds }, #endif #ifdef PHYSTYPE_UDP { "udp ...", "UDP specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) UdpSetCmds }, + CMD_SUBMENU, AdmitDev, 2, UdpSetCmds }, #endif #ifdef PHYSTYPE_PPTP { "pptp ...", "PPTP specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) PptpSetCmds }, + CMD_SUBMENU, AdmitDev, 2, PptpSetCmds }, #endif #ifdef PHYSTYPE_L2TP { "l2tp ...", "L2TP specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) L2tpSetCmds }, + CMD_SUBMENU, AdmitDev, 2, L2tpSetCmds }, #endif #ifdef PHYSTYPE_PPPOE { "pppoe ...", "PPPoE specific stuff", - CMD_SUBMENU, AdmitDev, 2, (void *) PppoeSetCmds }, + CMD_SUBMENU, AdmitDev, 2, PppoeSetCmds }, #endif #endif #ifdef _WANT_DEVICE_TYPES #ifdef PHYSTYPE_MODEM - (const PhysType) &gModemPhysType, + &gModemPhysType, #endif #ifdef PHYSTYPE_NG_SOCKET - (const PhysType) &gNgPhysType, + &gNgPhysType, #endif #ifdef PHYSTYPE_TCP - (const PhysType) &gTcpPhysType, + &gTcpPhysType, #endif #ifdef PHYSTYPE_UDP - (const PhysType) &gUdpPhysType, + &gUdpPhysType, #endif #ifdef PHYSTYPE_PPTP - (const PhysType) &gPptpPhysType, + &gPptpPhysType, #endif #ifdef PHYSTYPE_L2TP - (const PhysType) &gL2tpPhysType, + &gL2tpPhysType, #endif #ifdef PHYSTYPE_PPPOE - (const PhysType) &gPppoePhysType, + &gPppoePhysType, #endif #endif