Skip to content
  • 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-declara...
    ac565065