logging: tell GCC to check calls to error() etc
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Fri, 7 Aug 2009 09:17:12 +0000 (10:17 +0100)
committerJon Masters <jcm@jonmasters.org>
Thu, 1 Oct 2009 05:58:14 +0000 (01:58 -0400)
commitcd02a8eab19e5632bf7ff0594ce743caa6124315
tree98e0e83700a71c7073e6b6c0a0bee056b1c1eca6
parent0ae7e1a5b57873186d60b9d9508820b1c5d86598
logging: tell GCC to check calls to error() etc

This warns about the modinfo segfault which Ozan found.  It doesn't
find any other problems, which is good to know.  It may also help
avoid future errors.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
logging.h