logging: Fix compile breakage introduced by the warning fixes
commitfb4bfc2ad5a3492d72a612e16fd4b69eb01f96e3
authorHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 12 Jul 2012 07:26:25 +0000 (12 09:26 +0200)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 12 Jul 2012 07:26:25 +0000 (12 09:26 +0200)
treed6b024fccc26c866a31c20ca46d84961d9e5146f
parente62651f22064ac44930ec91eda7f74b1014b420f
logging: Fix compile breakage introduced by the warning fixes

Make sure the declaration and definition match, add const to
the functions called by logp/logp2.

Compile output:
logging.c:317: error: conflicting types for 'logp'
../include/osmocom/core/logging.h:34: note: previous declaration of 'logp' was here
logging.c:327: error: conflicting types for 'logp2'
../include/osmocom/core/logging.h:168: note: previous declaration of 'logp2' was here
make[3]: *** [logging.lo] Error 1
include/osmocom/core/logging.h
src/logging.c