• Adrian Bunk's avatar
    [PATCH] pcxx.c build fix · c34aca4f
    Adrian Bunk authored
      CC      drivers/char/pcxx.o
    drivers/char/pcxx.c: In function `pcxe_cleanup':
    drivers/char/pcxx.c:209: warning: unused variable `e2'
    drivers/char/pcxx.c: At top level:
    drivers/char/pcxx.c:229: `pcxe_init' undeclared here (not in a function)
    drivers/char/pcxx.c:230: warning: type defaults to `int' in declaration of `module_cleanup'
    drivers/char/pcxx.c:230: warning: parameter names (without types) in function declaration
    drivers/char/pcxx.c:230: warning: data definition has no type or storage class
    drivers/char/pcxx.c:1016: redefinition of `__initcall_pcxe_init'
    drivers/char/pcxx.c:229: `__initcall_pcxe_init' previously defined here
    drivers/char/pcxx.c:1016: `pcxe_init' undeclared here (not in a function)
    drivers/char/pcxx.c:1017: `pcxe_exit' undeclared here (not in a function)
    drivers/char/pcxx.c: In function `pcxe_tiocmget':
    drivers/char/pcxx.c:2009: `mstat' undeclared (first use in this function)
    drivers/char/pcxx.c:2009: (Each undeclared identifier is reported only once
    drivers/char/pcxx.c:2009: for each function it appears in.)
    drivers/char/pcxx.c: In function `pcxe_tiocmset':
    drivers/char/pcxx.c:2072: warning: control reaches end of non-void function
    drivers/char/pcxx.c: At top level:
    drivers/char/pcxx.c:1044: warning: `pcxe_init' defined but not used
    Signed-off-by: default avatarAdrian Bunk <bunk@fs.tum.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c34aca4f
pcxx.c 53.5 KB