[PATCH] Fix build

Christian Inci chris.pcguy.inci at gmail.com
Thu Jul 12 07:21:17 UTC 2012


Remember to change the header too. ;-)

Signed-off-by: Christian Inci <chris.pcguy.inci at gmail.com>
---
 src/logging.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/logging.c b/src/logging.c
index 8dfc31e..b92a54c 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -314,7 +314,7 @@ void osmo_vlogp(int subsys, int level, char *file, int line,
 	}
 }
 
-void logp(int subsys, char *file, int line, int cont,
+void logp(int subsys, const char *file, int line, int cont,
 	  const char *format, ...)
 {
 	va_list ap;
@@ -324,7 +324,7 @@ void logp(int subsys, char *file, int line, int cont,
 	va_end(ap);
 }
 
-void logp2(int subsys, unsigned int level, char *file, int line, int cont, const char *format, ...)
+void logp2(int subsys, unsigned int level, const char *file, int line, int cont, const char *format, ...)
 {
 	va_list ap;
 
-- 
1.7.8.6


--------------050502050900090804030106
Content-Type: application/pgp-signature;
 name="0001-Fix-build.patch.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="0001-Fix-build.patch.sig"

iQIcBAABAgAGBQJP/nwYAAoJEC7OUg5VIFIFwBUQAK4CHbDqHOd+ljCt/g/KHakum5u+/7oG
htAlPb8NBvxQp4ao3Ui7QRHwn1HVw+X7l6sr8Aa0A03lljvm92emoeoGo+sFLosMR9sCBo/x
gnGxZVAmkHsF+DM65r7C7XC07KcqH+dlDtUxlkAWBRf3ODl0sdTUiXY7qnz2tybvd5BB+M0k
1MtsA/zg+0bSFpspBZHcOSDJRn1kRP3/0RflWHH6rEjhvpIA7c5WFj6mPoS5btGfcOGUNOXj
stLiusgQgzdOjHXsFpI5Of5BnGHAWooW0oEyuPpRi+c+FhFllD7EMaFrnBnkDugS92cpy3r7
6G+ByfQ6YMikyZErkc5KG9HLPqsNavMTz1AhU9w9vH22C8YWEyIQ6M0JZApiQVwHbezrwWFu
qHU5ldv9ezPQ3VLzofldxvJx5ysheA65rpSaaI0EGH9/zw5/7zmpO56gJbWbYIFezOLmyEcI
A4vB3ibuiFVJhEeEad221cAXv2QRLusNzhrhEHmCyRPBKjyzBFlarplspbOq2XB4pKa1mph0
oc4T5QWuvBjKznbhdSnFN99ON6UksYjQb9zBdlmkEhm+RjjwUuG9W3hleu2qhPbzlXtImGC5
nm2eT/IX+HcVaDFa9CFbqd2u4mXEi3LAl7MdHhhJTJsy/1DbLPTjS/0JvjOEeEY/93CEQvP2
SuSV
--------------050502050900090804030106--




More information about the baseband-devel mailing list