[rtems-libbsd commit] Rename kernel space log() to _bsd_log()

Sebastian Huber sebh at rtems.org
Tue Nov 10 09:23:51 UTC 2015


Module:    rtems-libbsd
Branch:    master
Commit:    c1644467b1b04443dc225250e4d2999cefac953e
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=c1644467b1b04443dc225250e4d2999cefac953e

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 10 10:19:04 2015 +0100

Rename kernel space log() to _bsd_log()

This avoids a conflict with the standard math library log() function.

---

 rtemsbsd/include/machine/rtems-bsd-symbols.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rtemsbsd/include/machine/rtems-bsd-symbols.h b/rtemsbsd/include/machine/rtems-bsd-symbols.h
index 4a9e4ac..2b2af6e 100644
--- a/rtemsbsd/include/machine/rtems-bsd-symbols.h
+++ b/rtemsbsd/include/machine/rtems-bsd-symbols.h
@@ -294,6 +294,7 @@
 #define kthread_exit _bsd_kthread_exit
 #define kthread_start _bsd_kthread_start
 #define kthread_suspend _bsd_kthread_suspend
+#define log _bsd_log
 #define malloc_init _bsd_malloc_init
 #define malloc_uninit _bsd_malloc_uninit
 #define maxproc _bsd_maxproc



More information about the vc mailing list