• Arnd Bergmann's avatar
    isdn: eicon: fix old-style declarations · ac565065
    Arnd Bergmann authored
    Modern C standards expect the '__inline__' keyword to come before the return
    type in a declaration, and we get many warnings for this with "make W=1"
    because the eicon driver has this in a header file:
    
    eicon/divasmain.c:448:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/divasmain.c:453:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/divasmain.c:458:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/divasmain.c:463:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/divasmain.c:468:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/divasmain.c:473:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/platform.h:274:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    eicon/platform.h:280:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]
    
    A similar warning gets printed for the diva_os_register_io_port()
    declaration, because 'register' is interpreted as a keyword instead
    of a variable name:
    
    In file included from eicon/diva_didd.c:21:0:
    eicon/platform.h:206:1: error: 'register' is not at beginning of declaration [-Werror=old-style-declaration]
    Signed-off-by: 's avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: 's avatarDavid S. Miller <davem@davemloft.net>
    ac565065
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
adapter.h Loading commit data...
capi20.h Loading commit data...
capidtmf.c Loading commit data...
capidtmf.h Loading commit data...
capifunc.c Loading commit data...
capifunc.h Loading commit data...
capimain.c Loading commit data...
cardtype.h Loading commit data...
cp_vers.h Loading commit data...
dadapter.c Loading commit data...
dadapter.h Loading commit data...
debug.c Loading commit data...
debug_if.h Loading commit data...
debuglib.c Loading commit data...
debuglib.h Loading commit data...
dfifo.h Loading commit data...
di.c Loading commit data...
di.h Loading commit data...
di_dbg.h Loading commit data...
di_defs.h Loading commit data...
did_vers.h Loading commit data...
diddfunc.c Loading commit data...
diva.c Loading commit data...
diva.h Loading commit data...
diva_didd.c Loading commit data...
diva_dma.c Loading commit data...
diva_dma.h Loading commit data...
diva_pci.h Loading commit data...
divacapi.h Loading commit data...
divamnt.c Loading commit data...
divasfunc.c Loading commit data...
divasi.c Loading commit data...
divasmain.c Loading commit data...
divasproc.c Loading commit data...
divasync.h Loading commit data...
dqueue.c Loading commit data...
dqueue.h Loading commit data...
dsp_defs.h Loading commit data...
dsp_tst.h Loading commit data...
dspdids.h Loading commit data...
dsrv4bri.h Loading commit data...
dsrv_bri.h Loading commit data...
dsrv_pri.h Loading commit data...
entity.h Loading commit data...
helpers.h Loading commit data...
idifunc.c Loading commit data...
io.c Loading commit data...
io.h Loading commit data...
istream.c Loading commit data...
kst_ifc.h Loading commit data...
maintidi.c Loading commit data...
maintidi.h Loading commit data...
man_defs.h Loading commit data...
mdm_msg.h Loading commit data...
message.c Loading commit data...
mi_pc.h Loading commit data...
mntfunc.c Loading commit data...
os_4bri.c Loading commit data...
os_4bri.h Loading commit data...
os_bri.c Loading commit data...
os_bri.h Loading commit data...
os_capi.h Loading commit data...
os_pri.c Loading commit data...
os_pri.h Loading commit data...
pc.h Loading commit data...
pc_init.h Loading commit data...
pc_maint.h Loading commit data...
pkmaint.h Loading commit data...
platform.h Loading commit data...
pr_pc.h Loading commit data...
s_4bri.c Loading commit data...
s_bri.c Loading commit data...
s_pri.c Loading commit data...
sdp_hdr.h Loading commit data...
um_idi.c Loading commit data...
um_idi.h Loading commit data...
um_xdi.h Loading commit data...
xdi_adapter.h Loading commit data...
xdi_msg.h Loading commit data...
xdi_vers.h Loading commit data...