alistair23-linux/drivers/isdn/hardware/eicon
Arnd Bergmann ac565065a6 isdn: eicon: fix old-style declarations
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-16 22:06:30 -07:00
..
adapter.h
capi20.h
capidtmf.c
capidtmf.h
capifunc.c
capifunc.h
capimain.c
cardtype.h
cp_vers.h
dadapter.c
dadapter.h
debug.c isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps 2016-02-18 11:09:30 -05:00
debug_if.h
debuglib.c
debuglib.h
dfifo.h
di.c
di.h
di_dbg.h
di_defs.h
did_vers.h
diddfunc.c
diva.c
diva.h
diva_didd.c
diva_dma.c
diva_dma.h
diva_pci.h
divacapi.h
divamnt.c isdn: divamnt: use y2038-safe ktime_get_ts64() for trace data timestamps 2016-02-18 11:09:30 -05:00
divasfunc.c
divasi.c
divasmain.c isdn: eicon: fix old-style declarations 2016-06-16 22:06:30 -07:00
divasproc.c procfs: new helper - PDE_DATA(inode) 2013-04-09 14:13:32 -04:00
divasync.h
dqueue.c
dqueue.h
dsp_defs.h
dsp_tst.h
dspdids.h
dsrv4bri.h
dsrv_bri.h
dsrv_pri.h
entity.h
helpers.h
idifunc.c
io.c
io.h
istream.c
Kconfig
kst_ifc.h
maintidi.c
maintidi.h
Makefile
man_defs.h
mdm_msg.h
message.c ISDN: eicon: replace custom hex_asc_lo() / hex_pack_byte() 2016-05-08 23:52:13 -04:00
mi_pc.h
mntfunc.c
os_4bri.c
os_4bri.h
os_bri.c
os_bri.h
os_capi.h
os_pri.c
os_pri.h
pc.h
pc_init.h
pc_maint.h
pkmaint.h
platform.h isdn: eicon: fix old-style declarations 2016-06-16 22:06:30 -07:00
pr_pc.h
s_4bri.c
s_bri.c
s_pri.c
sdp_hdr.h
um_idi.c isdn: eicon: free pointer after using it in log msg in divas_um_idi_delete_entity() 2013-10-02 16:00:59 -04:00
um_idi.h
um_xdi.h
xdi_adapter.h
xdi_msg.h drivers: isdn: eicon: xdi_msg.h: Fix typo in #ifndef 2014-08-22 11:31:30 -07:00
xdi_vers.h